diff --git a/.gitignore b/.gitignore index 377e178..9cbf035 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,5 @@ obj/ +graphwalker-cli-4.2.0 .jar +java-plugin-generator/pet.json diff --git a/c-sharp-rest/PetClinic/PetClinic.gw3 b/c-sharp-rest/PetClinic/PetClinic.gw3 deleted file mode 100644 index 14229b3..0000000 --- a/c-sharp-rest/PetClinic/PetClinic.gw3 +++ /dev/null @@ -1 +0,0 @@ -{"name":"VISMODEL","models":[{"name":"FindOwnersSharedState","id":"476fb419-3d7d-4492-802e-6695fe93f595","generator":"random(edge_coverage(100))","vertices":[{"id":"n0","name":"v_FindOwners","sharedState":"FindOwners","properties":{"x":0,"y":0}},{"id":"n1","name":"v_NewOwner","sharedState":"NewOwner","properties":{"x":120.65625,"y":-157.8125}},{"id":"n2","name":"v_Owners","properties":{"x":-219.34375,"y":-187.8125}}],"edges":[{"id":"e0","name":"e_AddOwner","sourceVertexId":"n0","targetVertexId":"n1"},{"id":"e1","name":"e_FindOwners","sourceVertexId":"n1","targetVertexId":"n0"},{"id":"e2","name":"e_Search","sourceVertexId":"n0","targetVertexId":"n2"},{"id":"e3","name":"e_FindOwners","sourceVertexId":"n2","targetVertexId":"n0"}]},{"name":"NewOwnerSharedState","id":"b23d193c-287a-4eb9-a318-52ead7680ff7","generator":"random(edge_coverage(100))","vertices":[{"id":"n0","name":"v_NewOwner","sharedState":"NewOwner","properties":{"x":0,"y":0}},{"id":"n1","name":"v_IncorrectData","properties":{"x":131.65625,"y":-205.3125}},{"id":"n2","name":"v_OwnerInformation","sharedState":"OwnerInformation","properties":{"x":-284.34375,"y":-143.3125}}],"edges":[{"id":"e0","name":"e_IncorrectData","sourceVertexId":"n0","targetVertexId":"n1"},{"id":"e1","sourceVertexId":"n1","targetVertexId":"n0"},{"id":"e2","name":"e_CorrectData","sourceVertexId":"n0","targetVertexId":"n2"}]},{"name":"OwnerInformationSharedState","id":"5f1149c3-2853-47e6-838d-691bf30406a8","generator":"random(edge_coverage(100))","actions":["numOfPets=0;"],"vertices":[{"id":"n0","name":"v_OwnerInformation","sharedState":"OwnerInformation","properties":{"x":-23.34375,"y":-51.8125}},{"id":"n1","name":"v_NewPet","properties":{"x":-27.34375,"y":118.1875}},{"id":"n2","name":"v_Pet","properties":{"x":-317.34375,"y":7.1875}},{"id":"n3","name":"v_NewVisit","properties":{"x":139.65625,"y":-195.8125}},{"id":"n4","name":"v_FindOwners","sharedState":"FindOwners","properties":{"x":-270.34375,"y":-181.8125}}],"edges":[{"id":"e0","name":"e_AddPetSuccessfully","actions":[" numOfPets++;"],"sourceVertexId":"n1","targetVertexId":"n0"},{"id":"e1","name":"e_AddNewPet","sourceVertexId":"n0","targetVertexId":"n1"},{"id":"e2","name":"e_EditPet","guard":"numOfPets>0","sourceVertexId":"n0","targetVertexId":"n2"},{"id":"e3","name":"e_UpdatePet","sourceVertexId":"n2","targetVertexId":"n0"},{"id":"e4","name":"e_AddPetFailed","sourceVertexId":"n1","targetVertexId":"n1"},{"id":"e5","name":"e_AddVisit","guard":"numOfPets>0","sourceVertexId":"n0","targetVertexId":"n3"},{"id":"e6","name":"e_VisitAddedSuccessfully","sourceVertexId":"n3","targetVertexId":"n0"},{"id":"e7","name":"e_VisitAddedFailed","sourceVertexId":"n3","targetVertexId":"n3"},{"id":"e8","name":"e_FindOwners","sourceVertexId":"n0","targetVertexId":"n4"}]},{"name":"PetClinicSharedState","id":"3f6b365f-7011-4db6-b0cc-e19aa453d9b8","generator":"random(edge_coverage(100))","vertices":[{"id":"n0","name":"v_HomePage","sharedState":"HomePage","properties":{"x":0,"y":0}},{"id":"n1","name":"v_FindOwners","sharedState":"FindOwners","properties":{"x":112.65625,"y":-180.8125}},{"id":"n2","name":"v_Veterinarians","sharedState":"Veterinarians","properties":{"x":-246.34375,"y":-153.8125}}],"edges":[{"id":"e0","name":"e_FindOwners","sourceVertexId":"n0","targetVertexId":"n1"},{"id":"e1","name":"e_HomePage","sourceVertexId":"n1","targetVertexId":"n0"},{"id":"e2","name":"e_Veterinarians","sourceVertexId":"n0","targetVertexId":"n2"},{"id":"e3","name":"e_HomePage","sourceVertexId":"n2","targetVertexId":"n0"},{"id":"e4","name":"e_Veterinarians","sourceVertexId":"n1","targetVertexId":"n2"},{"id":"e5","name":"e_FindOwners","sourceVertexId":"n2","targetVertexId":"n1"},{"id":"e6","name":"e_StartBrowser","targetVertexId":"n0"}],"startElementId":"e6"},{"name":"VeterinariensSharedState","id":"368a9635-c59a-4285-ad01-cf75b0baa978","generator":"random(edge_coverage(100))","vertices":[{"id":"n0","name":"v_Veterinarians","sharedState":"Veterinarians","properties":{"x":0,"y":0}},{"id":"n1","name":"v_SearchResult","properties":{"x":-213.34375,"y":-138.8125}}],"edges":[{"id":"e0","name":"e_Search","sourceVertexId":"n0","targetVertexId":"n1"},{"id":"e1","sourceVertexId":"n1","targetVertexId":"n0"}]}]} \ No newline at end of file diff --git a/c-sharp-rest/PetClinic/PetClinic.sln b/c-sharp-rest/PetClinic/PetClinic.sln deleted file mode 100644 index 090f744..0000000 --- a/c-sharp-rest/PetClinic/PetClinic.sln +++ /dev/null @@ -1,17 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PetClinic", "PetClinic\PetClinic.csproj", "{21010AAD-9FE2-4DEC-AA58-C1A12260D671}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x86 = Debug|x86 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {21010AAD-9FE2-4DEC-AA58-C1A12260D671}.Debug|x86.ActiveCfg = Debug|x86 - {21010AAD-9FE2-4DEC-AA58-C1A12260D671}.Debug|x86.Build.0 = Debug|x86 - {21010AAD-9FE2-4DEC-AA58-C1A12260D671}.Release|x86.ActiveCfg = Release|x86 - {21010AAD-9FE2-4DEC-AA58-C1A12260D671}.Release|x86.Build.0 = Release|x86 - EndGlobalSection -EndGlobal diff --git a/c-sharp-rest/PetClinic/PetClinic/FindOwnersSharedState.cs b/c-sharp-rest/PetClinic/PetClinic/FindOwnersSharedState.cs deleted file mode 100644 index 3c42f0c..0000000 --- a/c-sharp-rest/PetClinic/PetClinic/FindOwnersSharedState.cs +++ /dev/null @@ -1,34 +0,0 @@ -using FluentAssertions; -using OpenQA.Selenium; -using System; - -namespace PetClinic -{ - public class FindOwnersSharedState - { - public void e_AddOwner() { - Helper.WaitForElement(By.LinkText("Add Owner")).Click(); - } - - public void e_FindOwners() { - Helper.WaitForElement(By.ClassName("icon-search")).Click(); - } - - public void e_Search() { - Helper.WaitForElement(By.CssSelector("button[type=\"submit\"]")).Click(); - } - - public void v_FindOwners() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("Find Owners"); - } - - public void v_NewOwner() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("New Owner"); - } - - public void v_Owners() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("Owners"); - } - } -} - diff --git a/c-sharp-rest/PetClinic/PetClinic/Helper.cs b/c-sharp-rest/PetClinic/PetClinic/Helper.cs deleted file mode 100644 index fc79a75..0000000 --- a/c-sharp-rest/PetClinic/PetClinic/Helper.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using OpenQA.Selenium; -using OpenQA.Selenium.Firefox; -using FluentAssertions.Execution; -using System.Threading; -using System.Collections.Generic; -using System.Linq; - - -namespace PetClinic -{ - class Helper - { - private static IWebDriver driver; - - /** - * Timeout time in seconds used for waiting for element(s) to show up. - */ - static int timeOut = 10; - - public static IWebDriver GetWebDriver() - { - if (driver == null) - { - driver = new FirefoxDriver(); - } - return driver; - } - - /** - * Will wait for a specified web element to appear. If not found - * an assertion will fail. - * - * @param by The description of the element - * @return The matching element if found. - */ - public static IWebElement WaitForElement(By by) - { - for (int second = 0; ; second++) - { - if (second >= timeOut) - { - Execute.Assertion.FailWith("Timeout occurred while waiting for: " + by.ToString()); - } - try - { - return GetWebDriver().FindElement(by); - } - catch (Exception) - { - Thread.Sleep(1000); - } - } - } - - /** - * Will wait for a specified web element(s) to appear. If not found - * an assertion will fail. - * - * @param by The description of the element - * @return A list of matching element(s) if found. - */ - public static List WaitForElements(By by) - { - for (int second = 0; ; second++) - { - if (second >= timeOut) - { - Execute.Assertion.FailWith("Timeout occurred while waiting for: " + by.ToString()); - } - - try - { - return new List(GetWebDriver().FindElements(by)); - } - catch (Exception) - { - Thread.Sleep(1000); - } - } - } - - public static string RandomAlphaString(int length) - { - const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdfeghijklmnopqrstuvxyz"; - var random = new Random(); - return new string(Enumerable.Repeat(chars, length) - .Select(s => s[random.Next(s.Length)]).ToArray()); - } - - public static string RandomNumberString(int length) - { - const string chars = "0123456789"; - var random = new Random(); - return new string(Enumerable.Repeat(chars, length) - .Select(s => s[random.Next(s.Length)]).ToArray()); - } - } -} diff --git a/c-sharp-rest/PetClinic/PetClinic/NewOwnerSharedState.cs b/c-sharp-rest/PetClinic/PetClinic/NewOwnerSharedState.cs deleted file mode 100644 index 2b9ba2e..0000000 --- a/c-sharp-rest/PetClinic/PetClinic/NewOwnerSharedState.cs +++ /dev/null @@ -1,63 +0,0 @@ -using FluentAssertions; -using OpenQA.Selenium; -using System; - -namespace PetClinic -{ - public class NewOwnerSharedState - { - public void e_CorrectData() { - Helper.WaitForElement(By.Id("firstName")).Clear(); - Helper.WaitForElement(By.Id("firstName")).SendKeys(Helper.RandomAlphaString(10)); - - Helper.WaitForElement(By.Id("lastName")).Clear(); - Helper.WaitForElement(By.Id("lastName")).SendKeys(Helper.RandomAlphaString(10)); - - Helper.WaitForElement(By.Id("address")).Clear(); - Helper.WaitForElement(By.Id("address")).SendKeys(Helper.RandomAlphaString(10)); - - Helper.WaitForElement(By.Id("city")).Clear(); - Helper.WaitForElement(By.Id("city")).SendKeys(Helper.RandomAlphaString(10)); - - Helper.WaitForElement(By.Id("telephone")).Clear(); - Helper.WaitForElement(By.Id("telephone")).SendKeys(Helper.RandomNumberString(10)); - - Helper.WaitForElement(By.CssSelector("button[type=\"submit\"]")).Click(); - } - - public void e_IncorrectData() { - Helper.WaitForElement(By.Id("firstName")).Clear(); - Helper.WaitForElement(By.Id("firstName")).SendKeys(Helper.RandomAlphaString(10)); - - Helper.WaitForElement(By.Id("lastName")).Clear(); - Helper.WaitForElement(By.Id("lastName")).SendKeys(Helper.RandomAlphaString(10)); - - Helper.WaitForElement(By.Id("address")).Clear(); - Helper.WaitForElement(By.Id("address")).SendKeys(Helper.RandomAlphaString(10)); - - Helper.WaitForElement(By.Id("city")).Clear(); - Helper.WaitForElement(By.Id("city")).SendKeys(Helper.RandomAlphaString(10)); - - Helper.WaitForElement(By.Id("telephone")).Clear(); - Helper.WaitForElement(By.Id("telephone")).SendKeys(Helper.RandomNumberString(20)); - - Helper.WaitForElement(By.CssSelector("button[type=\"submit\"]")).Click(); - } - - public void v_IncorrectData() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("New Owner"); - - String str = Helper.WaitForElement(By.CssSelector("div.control-group.error > div.controls > span.help-inline")).Text; - str.Should().Contain("numeric value out of bounds (<10 digits>.<0 digits> expected"); - } - - public void v_NewOwner() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("New Owner"); - } - - public void v_OwnerInformation() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("Owner Information"); - } - } -} - diff --git a/c-sharp-rest/PetClinic/PetClinic/OwnerInformationSharedState.cs b/c-sharp-rest/PetClinic/PetClinic/OwnerInformationSharedState.cs deleted file mode 100644 index 0d3651b..0000000 --- a/c-sharp-rest/PetClinic/PetClinic/OwnerInformationSharedState.cs +++ /dev/null @@ -1,84 +0,0 @@ -using FluentAssertions; -using Newtonsoft.Json.Linq; -using OpenQA.Selenium; -using OpenQA.Selenium.Support.UI; -using System; - -namespace PetClinic -{ - public class OwnerInformationSharedState - { - public void e_AddNewPet() { - Helper.WaitForElement(By.LinkText("Add New Pet")).Click(); - } - - public void e_AddPetFailed() { - Helper.WaitForElement(By.Id("name")).Clear(); - Helper.WaitForElement(By.Id("birthDate")).Clear(); - Helper.WaitForElement(By.Id("birthDate")).SendKeys("2015/02/05"); - new SelectElement( Helper.WaitForElement(By.Id("type"))).SelectByText("dog"); - Helper.WaitForElement(By.CssSelector("button[type=\"submit\"]")).Click(); - } - - public void e_AddPetSuccessfully() { - Helper.WaitForElement(By.Id("birthDate")).Clear(); - Helper.WaitForElement(By.Id("birthDate")).SendKeys("2015/02/05"); - Helper.WaitForElement(By.Id("name")).Clear(); - Helper.WaitForElement(By.Id("name")).SendKeys(Helper.RandomAlphaString(10)); - new SelectElement(Helper.WaitForElement(By.Id("type"))).SelectByText("dog"); - Helper.WaitForElement(By.CssSelector("button[type=\"submit\"]")).Click(); - } - - public void e_AddVisit() { - Helper.WaitForElement(By.LinkText("Add Visit")).Click(); - } - - public void e_EditPet() { - Helper.WaitForElement(By.LinkText("Edit Pet")).Click(); - } - - public void e_FindOwners() { - Helper.WaitForElement(By.ClassName("icon-search")).Click(); - } - - public void e_UpdatePet() { - Helper.WaitForElement(By.CssSelector("button[type=\"submit\"]")).Click(); - } - - public void e_VisitAddedFailed() { - Helper.WaitForElement(By.Id("description")).Clear(); - Helper.WaitForElement(By.CssSelector("button[type=\"submit\"]")).Click(); - } - - public void e_VisitAddedSuccessfully() { - Helper.WaitForElement(By.Id("description")).Clear(); - Helper.WaitForElement(By.Id("description")).SendKeys((Helper.RandomAlphaString(10))); - Helper.WaitForElement(By.CssSelector("button[type=\"submit\"]")).Click(); - } - - public void v_FindOwners() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("Find Owners"); - } - - public void v_NewPet() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("New Pet"); - } - - public void v_NewVisit() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("New Visit"); - } - - public void v_OwnerInformation() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("Owner Information"); - GraphWalkerRestClient.setData("numOfPets = " + Helper.WaitForElements(By.XPath("//th[text()=\"Visit Date\"]")).Count + ";"); - - JObject jsonData = GraphWalkerRestClient.getData(); - Console.WriteLine(" Number of pets (the data is fetched from PetClinic and set in the model): " + jsonData.GetValue("numOfPets")); - } - - public void v_Pet() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("Pet"); - } - } -} - diff --git a/c-sharp-rest/PetClinic/PetClinic/PetClinic.csproj b/c-sharp-rest/PetClinic/PetClinic/PetClinic.csproj deleted file mode 100644 index 359a2d0..0000000 --- a/c-sharp-rest/PetClinic/PetClinic/PetClinic.csproj +++ /dev/null @@ -1,70 +0,0 @@ - - - - Debug - x86 - {21010AAD-9FE2-4DEC-AA58-C1A12260D671} - Exe - PetClinic - PetClinic - v4.5 - - - true - full - false - bin\Debug - DEBUG; - prompt - 4 - true - x86 - - - full - true - bin\Release - prompt - 4 - true - x86 - - - - - ..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll - - - ..\packages\RestSharp.105.2.3\lib\net45\RestSharp.dll - - - - - - ..\packages\FluentAssertions.4.5.0\lib\net45\FluentAssertions.dll - - - ..\packages\FluentAssertions.4.5.0\lib\net45\FluentAssertions.Core.dll - - - ..\packages\Selenium.WebDriver.2.53.0\lib\net40\WebDriver.dll - - - ..\packages\Selenium.Support.2.53.0\lib\net40\WebDriver.Support.dll - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/c-sharp-rest/PetClinic/PetClinic/PetClinicSharedState.cs b/c-sharp-rest/PetClinic/PetClinic/PetClinicSharedState.cs deleted file mode 100644 index d4de6f1..0000000 --- a/c-sharp-rest/PetClinic/PetClinic/PetClinicSharedState.cs +++ /dev/null @@ -1,38 +0,0 @@ -using FluentAssertions; -using OpenQA.Selenium; -using System; - -namespace PetClinic -{ - public class PetClinicSharedState - { - public void v_FindOwners() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("Find Owners"); - } - - public void e_HomePage() { - Helper.WaitForElement(By.ClassName("icon-home")).Click(); - } - - public void e_Veterinarians() { - Helper.WaitForElement(By.ClassName("icon-th-list")).Click(); - } - - public void v_Veterinarians() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("Veterinarians"); - } - - public void e_FindOwners() { - Helper.WaitForElement(By.ClassName("icon-search")).Click(); - } - - public void v_HomePage() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("Welcome"); - } - - public void e_StartBrowser() { - Helper.GetWebDriver().Navigate().GoToUrl("http://localhost:9966/petclinic/"); - } - } -} - diff --git a/c-sharp-rest/PetClinic/PetClinic/Program.cs b/c-sharp-rest/PetClinic/PetClinic/Program.cs deleted file mode 100644 index dc5c9a6..0000000 --- a/c-sharp-rest/PetClinic/PetClinic/Program.cs +++ /dev/null @@ -1,162 +0,0 @@ -using System; -using System.IO; -using RestSharp; -using Newtonsoft.Json.Linq; -using System.Reflection; - -namespace PetClinic -{ - static class GraphWalkerRestClient - { - private static RestClient client = new RestClient(); - private static RestRequest requestHasNext = new RestRequest("hasNext", Method.GET); - private static RestRequest requestGetNext = new RestRequest("getNext", Method.GET); - private static RestRequest requestGetData = new RestRequest("getData", Method.GET); - private static RestRequest requestLoad = new RestRequest("load", Method.POST); - private static RestRequest requestGetStatistics = new RestRequest("getStatistics", Method.GET); - - static GraphWalkerRestClient() - { - client.BaseUrl = new Uri("http://localhost:8887/graphwalker/"); - requestHasNext.AddHeader("Accept", "text/plain"); - requestGetNext.AddHeader("Accept", "text/plain"); - requestGetData.AddHeader("Accept", "text/plain"); - requestLoad.AddHeader("Accept", "text/plain"); - requestGetStatistics.AddHeader("Accept", "text/plain"); - } - - public static bool hasNext() - { - IRestResponse restResponse = client.Execute(requestHasNext); - checkError (restResponse); - - JObject jsonResponse = JObject.Parse (restResponse.Content.ToString ()); - if (!jsonResponse.GetValue ("result").ToString().Equals("ok", StringComparison.CurrentCultureIgnoreCase)) - return false; - - if (!jsonResponse.GetValue ("hasNext").ToString().Equals("true", StringComparison.CurrentCultureIgnoreCase)) - return false; - return true; - } - - public static JObject getNext() - { - IRestResponse restResponse = client.Execute(requestGetNext); - checkError (restResponse); - return JObject.Parse (restResponse.Content.ToString ()); - } - - public static JObject getData() - { - IRestResponse restResponse = client.Execute(requestGetData); - checkError(restResponse); - JObject jsonResponse = JObject.Parse(restResponse.Content.ToString()); - return JObject.Parse(jsonResponse.GetValue("data").DeepClone().ToString()); - } - - public static void setData( string str ) - { - // The request has to be built uniquely for every call, otherwise - // the AddParameter will be the same for every call. - RestRequest requestSetData = new RestRequest("setData/{script}", Method.PUT); - requestSetData.AddHeader("Accept", "text/plain"); - requestSetData.AddHeader("Content-Type", "text/plain"); - requestSetData.AddParameter("script", str, ParameterType.UrlSegment); - IRestResponse restResponse = client.Execute(requestSetData); - checkError(restResponse); - } - - public static void load(string model) - { - string data = File.ReadAllText(model); - requestLoad.AddHeader ("Content-Type", "text/plain"); - requestLoad.AddParameter("text/plain", data, ParameterType.RequestBody); - IRestResponse restResponse = client.Execute(requestLoad); - checkError (restResponse); - } - - public static string getStatistics() - { - IRestResponse restResponse = client.Execute(requestGetStatistics); - checkError (restResponse); - JObject jsonResponse = JObject.Parse (restResponse.Content.ToString ()); - return jsonResponse.ToString(); - } - - private static void checkError(IRestResponse response) - { - if (response.ErrorException != null) - { - const string message = "Error retrieving response. Check inner details for more info."; - throw new Exception(message, response.ErrorException); - } - - int numericStatusCode = (int)response.StatusCode; - if (numericStatusCode != 200) - { - const string message = "Error retrieving response. Check inner details for more info."; - throw new Exception(message, response.ErrorException); - } - - JObject jsonResponse = JObject.Parse (response.Content.ToString ()); - if (!jsonResponse.GetValue ("result").ToString().Equals("ok", StringComparison.CurrentCultureIgnoreCase)) - { - const string message = "REST call failed. Check inner details for more info."; - throw new Exception(message); - } - } - } - - class MainClass - { - public static void Main (string[] args) - { - if (args.Length == 0) - { - System.Console.WriteLine("Please enter the path and file name for the model"); - return; - } - - MainClass program = new MainClass (); - program.run (args[0]); - } - - private void run (string fileModelName) - { - GraphWalkerRestClient.load (fileModelName); - - // As long as we have elemnts from GraphWalkers path generation - // to fetch, we'll continue - while (GraphWalkerRestClient.hasNext()) - { - // Get the next element name from GraphWalker. - // The element might either be an edge or a vertex. - JObject nextStep = GraphWalkerRestClient.getNext(); - - // Create a mapping from the model name to an actual class. - Type type = Type.GetType("PetClinic." + nextStep.GetValue("modelName").ToString()); - ConstructorInfo ctor = type.GetConstructor(System.Type.EmptyTypes); - - // Invoke a method to call. If the currentElementName is null, - // it means that it's an edge with no name. In practicality, this is a noop, a no operation. - // No method to call, so we should move on to next step. - if (nextStep.GetValue ("currentElementName") != null) - { - Console.WriteLine("Model and element to be called: " + - nextStep.GetValue("modelName").ToString() - + "." + - nextStep.GetValue("currentElementName").ToString()); - - object instance = ctor.Invoke(null); - - // Create a mapping from the element name to an actual method. - MethodInfo methodInfo = type.GetMethod(nextStep.GetValue("currentElementName").ToString()); - methodInfo.Invoke(instance, new object[]{}); - } - } - - // Get the statistics from the test - Console.WriteLine (GraphWalkerRestClient.getStatistics() ); - } - } -} diff --git a/c-sharp-rest/PetClinic/PetClinic/Properties/AssemblyInfo.cs b/c-sharp-rest/PetClinic/PetClinic/Properties/AssemblyInfo.cs deleted file mode 100644 index c237139..0000000 --- a/c-sharp-rest/PetClinic/PetClinic/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. - -[assembly: AssemblyTitle ("PetClinic")] -[assembly: AssemblyDescription ("")] -[assembly: AssemblyConfiguration ("")] -[assembly: AssemblyCompany ("")] -[assembly: AssemblyProduct ("")] -[assembly: AssemblyCopyright ("krikar")] -[assembly: AssemblyTrademark ("")] -[assembly: AssemblyCulture ("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion ("1.0.*")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - diff --git a/c-sharp-rest/PetClinic/PetClinic/VeterinariensSharedState.cs b/c-sharp-rest/PetClinic/PetClinic/VeterinariensSharedState.cs deleted file mode 100644 index 2706a47..0000000 --- a/c-sharp-rest/PetClinic/PetClinic/VeterinariensSharedState.cs +++ /dev/null @@ -1,24 +0,0 @@ -using FluentAssertions; -using OpenQA.Selenium; -using System; - -namespace PetClinic -{ - public class VeterinariensSharedState - { - public void e_Search() { - Helper.WaitForElement(By.CssSelector("input[type=\"search\"]")).Clear(); - Helper.WaitForElement(By.CssSelector("input[type=\"search\"]")).SendKeys("helen"); - } - - public void v_SearchResult() { - String bodyText = Helper.WaitForElement(By.XPath("//table[@id='vets']/tbody/tr/td")).Text; - bodyText.Should().Contain("Helen Leary"); - } - - public void v_Veterinarians() { - Helper.WaitForElement(By.TagName("h2")).Text.Should().Match("Veterinarians"); - } - } -} - diff --git a/c-sharp-rest/PetClinic/PetClinic/packages.config b/c-sharp-rest/PetClinic/PetClinic/packages.config deleted file mode 100644 index a1be279..0000000 --- a/c-sharp-rest/PetClinic/PetClinic/packages.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/c-sharp-rest/PetClinic/README.md b/c-sharp-rest/PetClinic/README.md deleted file mode 100644 index 80c612e..0000000 --- a/c-sharp-rest/PetClinic/README.md +++ /dev/null @@ -1,15 +0,0 @@ -This example will run simulated test using GraphWalker started as a REST service. - - * Download [latest GraphWalker standalone jar](http://graphwalker.github.io/content/archive/graphwalker-cli-3.4.2.jar). - * `git clone https://github.com/GraphWalker/graphwalker-example.git` - * `cd c-sharp-rest/PetClinic` - * Start GraphWalker as a restful service: `java -jar graphwalker-cli-3.4.2.jar -d all online -o -s RESTFUL`. - * Build the PetClinic project.
- On linux: `xbuild ` - * Run the program: - On linux: `mono PetClinic/bin/Debug/PetClinic.exe PetClinic.gw3` - -When run, the PetClinic program will connect to the GraphWalker service. - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/FluentAssertions.4.5.0.nupkg b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/FluentAssertions.4.5.0.nupkg deleted file mode 100644 index fa0a9cd..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/FluentAssertions.4.5.0.nupkg and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.Core.dll deleted file mode 100644 index 791ae4d..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.Core.pdb deleted file mode 100644 index 222eb0d..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.dll deleted file mode 100644 index 36df12e..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.pdb deleted file mode 100644 index 0830e9e..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.xml deleted file mode 100644 index 788f7d3..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/dotnet/FluentAssertions.xml +++ /dev/null @@ -1,1245 +0,0 @@ - - - - FluentAssertions - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Represents the default exception in case no test framework is configured. - - - - - Throws a generic exception in case no other test harness is detected. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Represents an abstraction of a particular test framework such as MSTest, nUnit, etc. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Provides methods for asserting the execution time of a method or property. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Provides methods for asserting the execution time of a method or property. - - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Starts monitoring an object for its events. - - Thrown if eventSource is Null. - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the Assembly defines a type called and . - - The namespace of the class. - The name of the class. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Provides methods for asserting that the execution time of an satisfies certain conditions. - - - - - Initializes a new instance of the class. - - The action of which the execution time must be asserted. - - - - Asserts that the execution time of the operation does not exceed a specified amount of time. - - - The maximum allowed duration. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Provides methods for asserting that the execution time of an object member satisfies certain conditions. - - - - - - Initializes a new instance of the class. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the attribute. - - The expected attribute - - - - Asserts that the current equals the attribute. - - The expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The full name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the - element, by using - - - The expected element - - - - Asserts that the current equals the - element, by using - - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monoandroid/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monoandroid/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monoandroid/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monoandroid/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monoandroid/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monoandroid/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monoandroid/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monoandroid/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monoandroid/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monotouch/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monotouch/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monotouch/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monotouch/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monotouch/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monotouch/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monotouch/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monotouch/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/monotouch/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.dll deleted file mode 100644 index 6289201..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.pdb deleted file mode 100644 index 8e8b8bc..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.xml deleted file mode 100644 index 6971b6b..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net40/FluentAssertions.xml +++ /dev/null @@ -1,1647 +0,0 @@ - - - - FluentAssertions - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised a particular event at least once. - - The object exposing the event. - The name of the event that should have been raised. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised a particular event at least once. - - The object exposing the event. - - The name of the event that should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised a particular event. - - The object exposing the event. - - The name of the event that should not be raised. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised a particular event. - - The object exposing the event. - - The name of the event that should not be raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Represents the default exception in case no test framework is configured. - - - - - Throws a generic exception in case no other test harness is detected. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Represents an abstraction of a particular test framework such as MSTest, nUnit, etc. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains - the values of all members. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains - the values of all members. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object can be serialized and deserialized using the data contract serializer and that it stills retains - the values of all members. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object can be serialized and deserialized using the data contract serializer and that it stills retains - the values of all members. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains - the values of all members. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Cointains a number of methods to assert that an - is in the expected state./> - - - - - Initialized a new instance of the - class. - - - - - - Asserts taht the current has the specified - inner text. - - The expected value. - - - - Asserts that the current has the specified - inner text. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute - with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute - with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute - with the specified , - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute - with the specified , - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name and namespace. - - The name of the expected child element - The namespace of the expected child element - - - - Asserts that the current has a direct child element with the specified - name and namespace. - - The name of the expected child element - The namespace of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the current is equivalent to the element. - - The expected element - - - - Asserts that the current is equivalent to the node. - - The expected node - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the node. - - The unexpected node - - - - Asserts that the current is not equivalent to - the node. - - The unexpected node - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the attribute. - - The expected attribute - - - - Asserts that the current equals the attribute. - - The expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The full name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the - element, by using - - - The expected element - - - - Asserts that the current equals the - element, by using - - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Provides methods for asserting the execution time of a method or property. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Provides methods for asserting the execution time of a method or property. - - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Starts monitoring for its events. - - The object for which to monitor the events. - Thrown if is Null. - - - - Starts monitoring for events defined in the type parameter . - - The object for which to monitor the events. - The type defining the events it should monitor. - Thrown if is Null. - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Static methods that aid in generic event subscription - - - - - Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder - when invoked. - - - - - Finds the Return Type of a Delegate. - - - - - Returns an Array of Types that make up a delegate's parameter signature. - - - - - Returns an array of types appended with an EventRecorder reference at the beginning. - - - - - Returns T/F Dependent on a Type Being a Delegate. - - - - - Returns the MethodInfo for the Delegate's "Invoke" Method. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that an assembly does not reference the specified assembly. - - The assembly which should not be referenced. - - - - Asserts that an assembly does not reference the specified assembly. - - The assembly which should not be referenced. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an assembly references the specified assembly. - - The assembly which should be referenced. - - - - Asserts that an assembly references the specified assembly. - - The assembly which should be referenced. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the Assembly defines a type called and . - - The namespace of the class. - The name of the class. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Provides methods for asserting that the execution time of an satisfies certain conditions. - - - - - Initializes a new instance of the class. - - The action of which the execution time must be asserted. - - - - Asserts that the execution time of the operation does not exceed a specified amount of time. - - - The maximum allowed duration. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Provides methods for asserting that the execution time of an object member satisfies certain conditions. - - - - - - Initializes a new instance of the class. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.dll deleted file mode 100644 index 2c32c49..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.pdb deleted file mode 100644 index a9764ce..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.xml deleted file mode 100644 index 6971b6b..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/net45/FluentAssertions.xml +++ /dev/null @@ -1,1647 +0,0 @@ - - - - FluentAssertions - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised a particular event at least once. - - The object exposing the event. - The name of the event that should have been raised. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised a particular event at least once. - - The object exposing the event. - - The name of the event that should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised a particular event. - - The object exposing the event. - - The name of the event that should not be raised. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised a particular event. - - The object exposing the event. - - The name of the event that should not be raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Represents the default exception in case no test framework is configured. - - - - - Throws a generic exception in case no other test harness is detected. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Represents an abstraction of a particular test framework such as MSTest, nUnit, etc. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains - the values of all members. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains - the values of all members. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object can be serialized and deserialized using the data contract serializer and that it stills retains - the values of all members. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object can be serialized and deserialized using the data contract serializer and that it stills retains - the values of all members. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains - the values of all members. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Cointains a number of methods to assert that an - is in the expected state./> - - - - - Initialized a new instance of the - class. - - - - - - Asserts taht the current has the specified - inner text. - - The expected value. - - - - Asserts that the current has the specified - inner text. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute - with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute - with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute - with the specified , - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute - with the specified , - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name and namespace. - - The name of the expected child element - The namespace of the expected child element - - - - Asserts that the current has a direct child element with the specified - name and namespace. - - The name of the expected child element - The namespace of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the current is equivalent to the element. - - The expected element - - - - Asserts that the current is equivalent to the node. - - The expected node - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the node. - - The unexpected node - - - - Asserts that the current is not equivalent to - the node. - - The unexpected node - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the attribute. - - The expected attribute - - - - Asserts that the current equals the attribute. - - The expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The full name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the - element, by using - - - The expected element - - - - Asserts that the current equals the - element, by using - - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Provides methods for asserting the execution time of a method or property. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Provides methods for asserting the execution time of a method or property. - - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Starts monitoring for its events. - - The object for which to monitor the events. - Thrown if is Null. - - - - Starts monitoring for events defined in the type parameter . - - The object for which to monitor the events. - The type defining the events it should monitor. - Thrown if is Null. - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Static methods that aid in generic event subscription - - - - - Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder - when invoked. - - - - - Finds the Return Type of a Delegate. - - - - - Returns an Array of Types that make up a delegate's parameter signature. - - - - - Returns an array of types appended with an EventRecorder reference at the beginning. - - - - - Returns T/F Dependent on a Type Being a Delegate. - - - - - Returns the MethodInfo for the Delegate's "Invoke" Method. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that an assembly does not reference the specified assembly. - - The assembly which should not be referenced. - - - - Asserts that an assembly does not reference the specified assembly. - - The assembly which should not be referenced. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an assembly references the specified assembly. - - The assembly which should be referenced. - - - - Asserts that an assembly references the specified assembly. - - The assembly which should be referenced. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the Assembly defines a type called and . - - The namespace of the class. - The name of the class. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Provides methods for asserting that the execution time of an satisfies certain conditions. - - - - - Initializes a new instance of the class. - - The action of which the execution time must be asserted. - - - - Asserts that the execution time of the operation does not exceed a specified amount of time. - - - The maximum allowed duration. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Provides methods for asserting that the execution time of an object member satisfies certain conditions. - - - - - - Initializes a new instance of the class. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-monotouch+monoandroid+xamarin.ios/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-monotouch+monoandroid+xamarin.ios/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-monotouch+monoandroid+xamarin.ios/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-monotouch+monoandroid+xamarin.ios/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-monotouch+monoandroid+xamarin.ios/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-monotouch+monoandroid+xamarin.ios/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-monotouch+monoandroid+xamarin.ios/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-monotouch+monoandroid+xamarin.ios/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-monotouch+monoandroid+xamarin.ios/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.XML b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.XML deleted file mode 100644 index c05bb07..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.XML +++ /dev/null @@ -1,1247 +0,0 @@ - - - - FluentAssertions - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised a particular event at least once. - - The object exposing the event. - The name of the event that should have been raised. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised a particular event at least once. - - The object exposing the event. - - The name of the event that should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised a particular event. - - The object exposing the event. - - The name of the event that should not be raised. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised a particular event. - - The object exposing the event. - - The name of the event that should not be raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Starts monitoring an object for its events. - - Thrown if eventSource is Null. - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Represents the default exception in case no test framework is configured. - - - - - Throws a generic exception in case no other test harness is detected. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Represents an abstraction of a particular test framework such as MSTest, nUnit, etc. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the Assembly defines a type called and . - - The namespace of the class. - The name of the class. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the attribute. - - The expected attribute - - - - Asserts that the current equals the attribute. - - The expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The full name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the - element, by using - - - The expected element - - - - Asserts that the current equals the - element, by using - - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.dll deleted file mode 100644 index 2f1ac84..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.pdb deleted file mode 100644 index ea97095..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-net40+sl5+win8+wp8+wpa81/FluentAssertions.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.dll deleted file mode 100644 index 9f3b79b..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.pdb deleted file mode 100644 index e6527a9..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.pri b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.pri deleted file mode 100644 index 337cca0..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.pri and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.xml deleted file mode 100644 index e561745..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/portable-win81+wpa81/FluentAssertions.xml +++ /dev/null @@ -1,1240 +0,0 @@ - - - - FluentAssertions - - - - - Represents the default exception in case no test framework is configured. - - - - - Throws a generic exception in case no other test harness is detected. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Represents an abstraction of a particular test framework such as MSTest, nUnit, etc. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Simulates the AppDomain class that is not available in Windows Store apps. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Provides methods for asserting the execution time of a method or property. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Provides methods for asserting the execution time of a method or property. - - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Starts monitoring an object for its events. - - Thrown if eventSource is Null. - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the Assembly defines a type called and . - - The namespace of the class. - The name of the class. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Provides methods for asserting that the execution time of an satisfies certain conditions. - - - - - Initializes a new instance of the class. - - The action of which the execution time must be asserted. - - - - Asserts that the execution time of the operation does not exceed a specified amount of time. - - - The maximum allowed duration. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Provides methods for asserting that the execution time of an object member satisfies certain conditions. - - - - - - Initializes a new instance of the class. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the attribute. - - The expected attribute - - - - Asserts that the current equals the attribute. - - The expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The full name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the - element, by using - - - The expected element - - - - Asserts that the current equals the - element, by using - - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.dll deleted file mode 100644 index 1e59871..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.pdb deleted file mode 100644 index 8e2c909..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.xml deleted file mode 100644 index 58171f1..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/FluentAssertions.xml +++ /dev/null @@ -1,1213 +0,0 @@ - - - - FluentAssertions - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Starts monitoring an object for its events. - - Thrown if eventSource is Null. - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Static methods that aid in generic event subscription - - - - - Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder - when invoked. - - - - - Finds the Return Type of a Delegate. - - - - - Returns an Array of Types that make up a delegate's parameter signature. - - - - - Returns an array of types appended with an EventRecorder reference at the beginning. - - - - - Returns T/F Dependent on a Type Being a Delegate. - - - - - Returns the MethodInfo for the Delegate's "Invoke" Method. - - - - - Represents the default exception in case no test framework is configured. - - - - - Throws a generic exception in case no other test harness is detected. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Represents an abstraction of a particular test framework such as MSTest, nUnit, etc. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the Assembly defines a type called and . - - The namespace of the class. - The name of the class. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the attribute. - - The expected attribute - - - - Asserts that the current equals the attribute. - - The expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The full name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the - element, by using - - - The expected element - - - - Asserts that the current equals the - element, by using - - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.CSharp.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.CSharp.dll deleted file mode 100644 index 2e22fc7..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.CSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.CSharp.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.CSharp.xml deleted file mode 100644 index 8f9dc37..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.CSharp.xml +++ /dev/null @@ -1,190 +0,0 @@ - - - - Microsoft.CSharp - - - - Contains factory methods to create dynamic call site binders for CSharp. - - - Initializes a new CSharp binary operation binder. - Returns a new CSharp binary operation binder. - The flags with which to initialize the binder. - The binary operation kind. - The object that indicates where this operation is used. - The sequence of instances for the arguments to this operation. - - - Initializes a new CSharp convert binder. - Returns a new CSharp convert binder. - The flags with which to initialize the binder. - The type to convert to. - The object that indicates where this operation is used. - - - Initializes a new CSharp get index binder. - Returns a new CSharp get index binder. - The flags with which to initialize the binder. - The that indicates where this operation is used. - The sequence of instances for the arguments to this operation. - - - Initializes a new CSharp get member binder. - Returns a new CSharp get member binder. - The flags with which to initialize the binder. - The name of the member to get. - The that indicates where this operation is used. - The sequence of instances for the arguments to this operation. - - - Initializes a new CSharp invoke binder. - Returns a new CSharp invoke binder. - The flags with which to initialize the binder. - The that indicates where this operation is used. - The sequence of instances for the arguments to this operation. - - - Initializes a new CSharp invoke constructor binder. - Returns a new CSharp invoke constructor binder. - The flags with which to initialize the binder. - The that indicates where this operation is used. - The sequence of instances for the arguments to this operation. - - - Initializes a new CSharp invoke member binder. - Returns a new CSharp invoke member binder. - The flags with which to initialize the binder. - The name of the member to invoke. - The list of type arguments specified for this invoke. - The that indicates where this operation is used. - The sequence of instances for the arguments to this operation. - - - Initializes a new CSharp is event binder. - Returns a new CSharp is event binder. - The flags with which to initialize the binder. - The name of the event to look for. - The that indicates where this operation is used. - - - Initializes a new CSharp set index binder. - Returns a new CSharp set index binder. - The flags with which to initialize the binder. - The that indicates where this operation is used. - The sequence of instances for the arguments to this operation. - - - Initializes a new CSharp set member binder. - Returns a new CSharp set member binder. - The flags with which to initialize the binder. - The name of the member to set. - The that indicates where this operation is used. - The sequence of instances for the arguments to this operation. - - - Initializes a new CSharp unary operation binder. - Returns a new CSharp unary operation binder. - The flags with which to initialize the binder. - The unary operation kind. - The object that indicates where this operation is used. - The sequence of instances for the arguments to this operation. - - - Represents information about C# dynamic operations that are specific to particular arguments at a call site. Instances of this class are generated by the C# compiler. - - - Initializes a new instance of the class. - A new instance of the class. - The flags for the argument. - The name of the argument, if named; otherwise null. - - - Represents information about C# dynamic operations that are specific to particular arguments at a call site. Instances of this class are generated by the C# compiler. - - - No additional information to represent. - - - The argument's compile-time type should be considered during binding. - - - The argument is a constant. - - - The argument is a named argument. - - - The argument is passed to a ref parameter. - - - The argument is passed to an out parameter. - - - The argument is a indicating an actual type name used in source. Used only for target objects in static calls. - - - Represents information about C# dynamic operations that are not specific to particular arguments at a call site. Instances of this class are generated by the C# compiler. - - - There is no additional information required for this binder. - - - The evaluation of this binder happens in a checked context. - - - The binder represents an invoke on a simple name. - - - The binder represents an invoke on a specialname. - - - The binder represents a logical AND or logical OR that is part of a conditional logical operator evaluation. - - - The binder represents an explicit conversion. - - - The binder represents an implicit conversion for use in an array creation expression. - - - The result of any bind is going to be indexed get a set index or get index binder. - - - The value in this set index or set member comes a compound assignment operator. - - - The binder is used in a position that does not require a result, and can therefore bind to a void returning method. - - - Represents an error that occurs when a dynamic bind in the C# runtime binder is processed. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class that has a specified error message. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.The error message that explains the reason for the exception. - - - Initializes a new instance of the class that has 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 if no inner exception is specified. - - - Represents an error that occurs when a dynamic bind in the C# runtime binder is processed. - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - - - Initializes a new instance of the class that has 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 if no inner exception is specified. - - - \ No newline at end of file diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll deleted file mode 100644 index 9313918..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.xml deleted file mode 100644 index f8009f5..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.xml +++ /dev/null @@ -1,3429 +0,0 @@ - - - - Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight - - - - - UrlToTest specifies the url that should be requested to give context to the test. - - - - - An unused attribute. - - - - - - Gets the URL to test. - - - - - AspNetDevelopmentServer specifies the settings to be used for the - ASP.NET Development Server for the test. - - - - - Initializes the AspNetDevelopmentServerAttribute. - - The name. - The path to web app. - - - - Initializes the AspNetDevelopmentServerAttribute. - - The name. - The path to web app. - The web app root. - - - - Gets the name. - - - - - Gets the PathToWebApp. - - - - - Gets the web app root. - - - - - AspNetDevelopmentServerHost specifies the settings to be used when - ASP.NET Development Server is the host server for the test. - - - - - Initializes the AspNetDevelopmentServerHostAttribute. - - The path to the web app. - - - - Initializes the AspNetDevelopmentServerHostAttribute. - - The path to the web app. - The web app root. - - - - Gets the path to the web application. - - - - - Gets the WebAppRoot. - - - - - For ASP.NET sites that require basic authentication, specify the - user name and password using the Credential attribute. - WARNING: The password is stored in plain text in source code - and in the compiled assembly. Restrict access to the source code - and assembly to protect this sensitive information. - - - - - Specify the user name and password needed to access the web site under test. - - The user name. - - The password. WARNING: The password is stored in plain text in source code - and in the compiled assembly. Restrict access to the source code and assembly - to protect this sensitive information. - - - - - Specify the user name, password, and domain needed to access the web site under test. - - The user name. - - The password. WARNING: The password is stored in plain text in source code - and in the compiled assembly. Restrict access to the source code and assembly - to protect this sensitive information. - - The domain. - - - - Gets the user name. - - - - - Gets the password. - - - - - Gets the domain. - - - - - Base class for Framework Exceptions, provides localization trick so that messages are in HA locale. - - - - - Initializes a new UnitTestAssertException. - - - - - Initializes UnitTestAssertException. - - The message. - - - - Gets the Message string. - - - - - AssertFailedException class. Used to indicate failure for a test case - - - - - Initializes a new AssertFailedException. - - The message. - - - - AssertFailedException - - The message. - The inner exception. - - - - The AssertInconclusiveException class. - - - - - Initializes a new AssertInconclusiveException. - - The message. - - - - Initializes a new AssertInconclusiveException. - - The message. - The inner exception. - - - - Initializes a new AssertInconclusiveException. - - - - - InternalTestFailureException class. Used to indicate internal failure - for a test case. - - - - - Initializes a new InternalTestFailureException. - - The message. - - - - Initializes a new InternalTestFailureException. - - The message. - The inner exception. - - - - Initializes a new InternalTestFailureException. - - - - - A collection of helper classes to test various conditions within - unit tests. If the condition being tested is not met, an exception - is thrown. - - - - - - - - - - Tests whether the specified condition is true and throws an exception - if the condition is false. - - The condition the test expects to be true. - - Thrown if is false. - - - - - Tests whether the specified condition is true and throws an exception - if the condition is false. - - The condition the test expects to be true. - - The message to include in the exception when - is false. The message is shown in test results. - - - Thrown if is false. - - - - - Tests whether the specified condition is true and throws an exception - if the condition is false. - - The condition the test expects to be true. - - The message to include in the exception when - is false. The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if is false. - - - - - Tests whether the specified condition is false and throws an exception - if the condition is true. - - The condition the test expects to be false. - - Thrown if is true. - - - - - Tests whether the specified condition is false and throws an exception - if the condition is true. - - The condition the test expects to be false. - - The message to include in the exception when - is true. The message is shown in test results. - - - Thrown if is true. - - - - - Tests whether the specified condition is false and throws an exception - if the condition is true. - - The condition the test expects to be false. - - The message to include in the exception when - is true. The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if is true. - - - - - Tests whether the specified object is null and throws an exception - if it is not. - - The object the test expects to be null. - - Thrown if is not null. - - - - - Tests whether the specified object is null and throws an exception - if it is not. - - The object the test expects to be null. - - The message to include in the exception when - is not null. The message is shown in test results. - - - Thrown if is not null. - - - - - Tests whether the specified object is null and throws an exception - if it is not. - - The object the test expects to be null. - - The message to include in the exception when - is not null. The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if is not null. - - - - - Tests whether the specified object is non-null and throws an exception - if it is null. - - The object the test expects not to be null. - - Thrown if is null. - - - - - Tests whether the specified object is non-null and throws an exception - if it is null. - - The object the test expects not to be null. - - The message to include in the exception when - is null. The message is shown in test results. - - - Thrown if is null. - - - - - Tests whether the specified object is non-null and throws an exception - if it is null. - - The object the test expects not to be null. - - The message to include in the exception when - is null. The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if is null. - - - - - Tests whether the specified objects both refer to the same object and - throws an exception if the two inputs do not refer to the same object. - - - The first object to compare. This is the value the test expects. - - - The second object to compare. This is the value produced by the code under test. - - - Thrown if does not refer to the same object - as . - - - - - Tests whether the specified objects both refer to the same object and - throws an exception if the two inputs do not refer to the same object. - - - The first object to compare. This is the value the test expects. - - - The second object to compare. This is the value produced by the code under test. - - - The message to include in the exception when - is not the same as . The message is shown - in test results. - - - Thrown if does not refer to the same object - as . - - - - - Tests whether the specified objects both refer to the same object and - throws an exception if the two inputs do not refer to the same object. - - - The first object to compare. This is the value the test expects. - - - The second object to compare. This is the value produced by the code under test. - - - The message to include in the exception when - is not the same as . The message is shown - in test results. - - - An array of parameters to use when formatting . - - - Thrown if does not refer to the same object - as . - - - - - Tests whether the specified objects refer to different objects and - throws an exception if the two inputs refer to the same object. - - - The first object to compare. This is the value the test expects not - to match . - - - The second object to compare. This is the value produced by the code under test. - - - Thrown if refers to the same object - as . - - - - - Tests whether the specified objects refer to different objects and - throws an exception if the two inputs refer to the same object. - - - The first object to compare. This is the value the test expects not - to match . - - - The second object to compare. This is the value produced by the code under test. - - - The message to include in the exception when - is the same as . The message is shown in - test results. - - - Thrown if refers to the same object - as . - - - - - Tests whether the specified objects refer to different objects and - throws an exception if the two inputs refer to the same object. - - - The first object to compare. This is the value the test expects not - to match . - - - The second object to compare. This is the value produced by the code under test. - - - The message to include in the exception when - is the same as . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if refers to the same object - as . - - - - - Tests whether the specified values are equal and throws an exception - if the two values are not equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - The type of values to compare. - - The first value to compare. This is the value the tests expects. - - - The second value to compare. This is the value produced by the code under test. - - - Thrown if is not equal to - . - - - - - Tests whether the specified values are equal and throws an exception - if the two values are not equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - The type of values to compare. - - The first value to compare. This is the value the tests expects. - - - The second value to compare. This is the value produced by the code under test. - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - Thrown if is not equal to - . - - - - - Tests whether the specified values are equal and throws an exception - if the two values are not equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - The type of values to compare. - - The first value to compare. This is the value the tests expects. - - - The second value to compare. This is the value produced by the code under test. - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is not equal to - . - - - - - Tests whether the specified values are unequal and throws an exception - if the two values are equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - The type of values to compare. - - The first value to compare. This is the value the test expects not - to match . - - - The second value to compare. This is the value produced by the code under test. - - - Thrown if is equal to . - - - - - Tests whether the specified values are unequal and throws an exception - if the two values are equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - The type of values to compare. - - The first value to compare. This is the value the test expects not - to match . - - - The second value to compare. This is the value produced by the code under test. - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - Thrown if is equal to . - - - - - Tests whether the specified values are unequal and throws an exception - if the two values are equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - The type of values to compare. - - The first value to compare. This is the value the test expects not - to match . - - - The second value to compare. This is the value produced by the code under test. - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is equal to . - - - - - Tests whether the specified objects are equal and throws an exception - if the two objects are not equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - - The first object to compare. This is the object the tests expects. - - - The second object to compare. This is the object produced by the code under test. - - - Thrown if is not equal to - . - - - - - Tests whether the specified objects are equal and throws an exception - if the two objects are not equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - - The first object to compare. This is the object the tests expects. - - - The second object to compare. This is the object produced by the code under test. - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - Thrown if is not equal to - . - - - - - Tests whether the specified objects are equal and throws an exception - if the two objects are not equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - - The first object to compare. This is the object the tests expects. - - - The second object to compare. This is the object produced by the code under test. - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is not equal to - . - - - - - Tests whether the specified objects are unequal and throws an exception - if the two objects are equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - - The first object to compare. This is the value the test expects not - to match . - - - The second object to compare. This is the object produced by the code under test. - - - Thrown if is equal to . - - - - - Tests whether the specified objects are unequal and throws an exception - if the two objects are equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - - The first object to compare. This is the value the test expects not - to match . - - - The second object to compare. This is the object produced by the code under test. - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - Thrown if is equal to . - - - - - Tests whether the specified objects are unequal and throws an exception - if the two objects are equal. Different numeric types are treated - as unequal even if the logical values are equal. 42L is not equal to 42. - - - The first object to compare. This is the value the test expects not - to match . - - - The second object to compare. This is the object produced by the code under test. - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is equal to . - - - - - Tests whether the specified floats are equal and throws an exception - if they are not equal. - - - The first float to compare. This is the float the tests expects. - - - The second float to compare. This is the float produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by more than . - - - Thrown if is not equal to - . - - - - - Tests whether the specified floats are equal and throws an exception - if they are not equal. - - - The first float to compare. This is the float the tests expects. - - - The second float to compare. This is the float produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by more than . - - - The message to include in the exception when - is different than by more than - . The message is shown in test results. - - - Thrown if is not equal to - . - - - - - Tests whether the specified floats are equal and throws an exception - if they are not equal. - - - The first float to compare. This is the float the tests expects. - - - The second float to compare. This is the float produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by more than . - - - The message to include in the exception when - is different than by more than - . The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if is not equal to - . - - - - - Tests whether the specified floats are unequal and throws an exception - if they are equal. - - - The first float to compare. This is the float the test expects not to - match . - - - The second float to compare. This is the float produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by at most . - - - Thrown if is equal to . - - - - - Tests whether the specified floats are unequal and throws an exception - if they are equal. - - - The first float to compare. This is the float the test expects not to - match . - - - The second float to compare. This is the float produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by at most . - - - The message to include in the exception when - is equal to or different by less than - . The message is shown in test results. - - - Thrown if is equal to . - - - - - Tests whether the specified floats are unequal and throws an exception - if they are equal. - - - The first float to compare. This is the float the test expects not to - match . - - - The second float to compare. This is the float produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by at most . - - - The message to include in the exception when - is equal to or different by less than - . The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if is equal to . - - - - - Tests whether the specified doubles are equal and throws an exception - if they are not equal. - - - The first double to compare. This is the double the tests expects. - - - The second double to compare. This is the double produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by more than . - - - Thrown if is not equal to - . - - - - - Tests whether the specified doubles are equal and throws an exception - if they are not equal. - - - The first double to compare. This is the double the tests expects. - - - The second double to compare. This is the double produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by more than . - - - The message to include in the exception when - is different than by more than - . The message is shown in test results. - - - Thrown if is not equal to - . - - - - - Tests whether the specified doubles are equal and throws an exception - if they are not equal. - - - The first double to compare. This is the double the tests expects. - - - The second double to compare. This is the double produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by more than . - - - The message to include in the exception when - is different than by more than - . The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if is not equal to - . - - - - - Tests whether the specified doubles are unequal and throws an exception - if they are equal. - - - The first double to compare. This is the double the test expects not to - match . - - - The second double to compare. This is the double produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by at most . - - - Thrown if is equal to . - - - - - Tests whether the specified doubles are unequal and throws an exception - if they are equal. - - - The first double to compare. This is the double the test expects not to - match . - - - The second double to compare. This is the double produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by at most . - - - The message to include in the exception when - is equal to or different by less than - . The message is shown in test results. - - - Thrown if is equal to . - - - - - Tests whether the specified doubles are unequal and throws an exception - if they are equal. - - - The first double to compare. This is the double the test expects not to - match . - - - The second double to compare. This is the double produced by the code under test. - - - The required accuracy. An exception will be thrown only if - is different than - by at most . - - - The message to include in the exception when - is equal to or different by less than - . The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if is equal to . - - - - - Tests whether the specified strings are equal and throws an exception - if they are not equal. The invariant culture is used for the comparison. - - - The first string to compare. This is the string the tests expects. - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - Thrown if is not equal to - . - - - - - Tests whether the specified strings are equal and throws an exception - if they are not equal. The invariant culture is used for the comparison. - - - The first string to compare. This is the string the tests expects. - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - Thrown if is not equal to - . - - - - - Tests whether the specified strings are equal and throws an exception - if they are not equal. The invariant culture is used for the comparison. - - - The first string to compare. This is the string the tests expects. - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is not equal to - . - - - - - Tests whether the specified strings are equal and throws an exception - if they are not equal. - - - The first string to compare. This is the string the tests expects. - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - A CultureInfo object that supplies culture-specific comparison information. - - - Thrown if is not equal to - . - - - - - Tests whether the specified strings are equal and throws an exception - if they are not equal. - - - The first string to compare. This is the string the tests expects. - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - A CultureInfo object that supplies culture-specific comparison information. - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - Thrown if is not equal to - . - - - - - Tests whether the specified strings are equal and throws an exception - if they are not equal. - - - The first string to compare. This is the string the tests expects. - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - A CultureInfo object that supplies culture-specific comparison information. - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is not equal to - . - - - - - Tests whether the specified strings are unequal and throws an exception - if they are equal. The invariant culture is used for the comparison. - - - The first string to compare. This is the string the test expects not to - match . - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - Thrown if is equal to . - - - - - Tests whether the specified strings are unequal and throws an exception - if they are equal. The invariant culture is used for the comparison. - - - The first string to compare. This is the string the test expects not to - match . - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - Thrown if is equal to . - - - - - Tests whether the specified strings are unequal and throws an exception - if they are equal. The invariant culture is used for the comparison. - - - The first string to compare. This is the string the test expects not to - match . - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is equal to . - - - - - Tests whether the specified strings are unequal and throws an exception - if they are equal. - - - The first string to compare. This is the string the test expects not to - match . - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - A CultureInfo object that supplies culture-specific comparison information. - - - Thrown if is equal to . - - - - - Tests whether the specified strings are unequal and throws an exception - if they are equal. - - - The first string to compare. This is the string the test expects not to - match . - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - A CultureInfo object that supplies culture-specific comparison information. - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - Thrown if is equal to . - - - - - Tests whether the specified strings are unequal and throws an exception - if they are equal. - - - The first string to compare. This is the string the test expects not to - match . - - - The second string to compare. This is the string produced by the code under test. - - - A Boolean indicating a case-sensitive or insensitive comparison. (true - indicates a case-insensitive comparison.) - - - A CultureInfo object that supplies culture-specific comparison information. - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is equal to . - - - - - Tests whether the specified object is an instance of the expected - type and throws an exception if the expected type is not in the - inheritance hierarchy of the object. - - - The object the test expects to be of the specified type. - - - The expected type of . - - - Thrown if is null or - is not in the inheritance hierarchy - of . - - - - - Tests whether the specified object is an instance of the expected - type and throws an exception if the expected type is not in the - inheritance hierarchy of the object. - - - The object the test expects to be of the specified type. - - - The expected type of . - - - The message to include in the exception when - is not an instance of . The message is - shown in test results. - - - Thrown if is null or - is not in the inheritance hierarchy - of . - - - - - Tests whether the specified object is an instance of the expected - type and throws an exception if the expected type is not in the - inheritance hierarchy of the object. - - - The object the test expects to be of the specified type. - - - The expected type of . - - - The message to include in the exception when - is not an instance of . The message is - shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if is null or - is not in the inheritance hierarchy - of . - - - - - Tests whether the specified object is not an instance of the wrong - type and throws an exception if the specified type is in the - inheritance hierarchy of the object. - - - The object the test expects not to be of the specified type. - - - The type that should not be. - - - Thrown if is not null and - is in the inheritance hierarchy - of . - - - - - Tests whether the specified object is not an instance of the wrong - type and throws an exception if the specified type is in the - inheritance hierarchy of the object. - - - The object the test expects not to be of the specified type. - - - The type that should not be. - - - The message to include in the exception when - is an instance of . The message is shown - in test results. - - - Thrown if is not null and - is in the inheritance hierarchy - of . - - - - - Tests whether the specified object is not an instance of the wrong - type and throws an exception if the specified type is in the - inheritance hierarchy of the object. - - - The object the test expects not to be of the specified type. - - - The type that should not be. - - - The message to include in the exception when - is an instance of . The message is shown - in test results. - - - An array of parameters to use when formatting . - - - Thrown if is not null and - is in the inheritance hierarchy - of . - - - - - Throws an AssertFailedException. - - - Always thrown. - - - - - Throws an AssertFailedException. - - - The message to include in the exception. The message is shown in - test results. - - - Always thrown. - - - - - Throws an AssertFailedException. - - - The message to include in the exception. The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Always thrown. - - - - - Throws an AssertInconclusiveException. - - - Always thrown. - - - - - Throws an AssertInconclusiveException. - - - The message to include in the exception. The message is shown in - test results. - - - Always thrown. - - - - - Throws an AssertInconclusiveException. - - - The message to include in the exception. The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Always thrown. - - - - - Helper function that creates and throws an AssertionFailedException. - - name of the assertion throwing an exception. - message describing conditions for assertion failure. - The parameters. - - - - Checks the parameter for valid conditions - - The parameter. - The assertion name. - The parameter name. - The message. - The parameters. - - - - Safely converts an object to a string, handling null values and null characters. - Null values are converted to "(null)". Null characters are converted to "\\0". - - The object to convert to a string. - The converted string. - - - - Replaces null characters ('\0') with "\\0". - - The string to search. - The converted string with null characters replaced by "\\0". - - - - An exception from reflection will always be a TargetInvocationException - however - the goal of Private Accessors is to be seamless to the original code. - The only problem with throwing the inner exception is that the stack trace will - be overwritten. From here we register the stack trace of the inner exception - and then throw it. The Unit Test Adapter will then later rebuild the stack - from the cached shadow information plus the remaining stack from this throw. - - - - - - A collection of helper classes to test various conditions associated - with collections within unit tests. If the condition being tested is not - met, an exception is thrown. - - - - - Tests whether the specified collection contains the specified element - and throws an exception if the element is not in the collection. - - - The collection in which to search for the element. - - - The element that is expected to be in the collection. - - - Thrown if is not found in - . - - - - - Tests whether the specified collection contains the specified element - and throws an exception if the element is not in the collection. - - - The collection in which to search for the element. - - - The element that is expected to be in the collection. - - - The message to include in the exception when - is not in . The message is shown in - test results. - - - Thrown if is not found in - . - - - - - Tests whether the specified collection contains the specified element - and throws an exception if the element is not in the collection. - - - The collection in which to search for the element. - - - The element that is expected to be in the collection. - - - The message to include in the exception when - is not in . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is not found in - . - - - - - Tests whether the specified collection does not contain the specified - element and throws an exception if the element is in the collection. - - - The collection in which to search for the element. - - - The element that is expected not to be in the collection. - - - Thrown if is found in - . - - - - - Tests whether the specified collection does not contain the specified - element and throws an exception if the element is in the collection. - - - The collection in which to search for the element. - - - The element that is expected not to be in the collection. - - - The message to include in the exception when - is in . The message is shown in test - results. - - - Thrown if is found in - . - - - - - Tests whether the specified collection does not contain the specified - element and throws an exception if the element is in the collection. - - - The collection in which to search for the element. - - - The element that is expected not to be in the collection. - - - The message to include in the exception when - is in . The message is shown in test - results. - - - An array of parameters to use when formatting . - - - Thrown if is found in - . - - - - - Tests whether all items in the specified collection are non-null and throws - an exception if any element is null. - - - The collection in which to search for null elements. - - - Thrown if a null element is found in . - - - - - Tests whether all items in the specified collection are non-null and throws - an exception if any element is null. - - - The collection in which to search for null elements. - - - The message to include in the exception when - contains a null element. The message is shown in test results. - - - Thrown if a null element is found in . - - - - - Tests whether all items in the specified collection are non-null and throws - an exception if any element is null. - - - The collection in which to search for null elements. - - - The message to include in the exception when - contains a null element. The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if a null element is found in . - - - - - Tests whether all items in the specified collection are unique or not and - throws if any two elements in the collection are equal. - - - The collection in which to search for duplicate elements. - - - Thrown if a two or more equal elements are found in - . - - - - - Tests whether all items in the specified collection are unique or not and - throws if any two elements in the collection are equal. - - - The collection in which to search for duplicate elements. - - - The message to include in the exception when - contains at least one duplicate element. The message is shown in - test results. - - - Thrown if a two or more equal elements are found in - . - - - - - Tests whether all items in the specified collection are unique or not and - throws if any two elements in the collection are equal. - - - The collection in which to search for duplicate elements. - - - The message to include in the exception when - contains at least one duplicate element. The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if a two or more equal elements are found in - . - - - - - Tests whether one collection is a subset of another collection and - throws an exception if any element in the subset is not also in the - superset. - - - The collection expected to be a subset of . - - - The collection expected to be a superset of - - - Thrown if an element in is not found in - . - - - - - Tests whether one collection is a subset of another collection and - throws an exception if any element in the subset is not also in the - superset. - - - The collection expected to be a subset of . - - - The collection expected to be a superset of - - - The message to include in the exception when an element in - is not found in . - The message is shown in test results. - - - Thrown if an element in is not found in - . - - - - - Tests whether one collection is a subset of another collection and - throws an exception if any element in the subset is not also in the - superset. - - - The collection expected to be a subset of . - - - The collection expected to be a superset of - - - The message to include in the exception when an element in - is not found in . - The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if an element in is not found in - . - - - - - Tests whether one collection is not a subset of another collection and - throws an exception if all elements in the subset are also in the - superset. - - - The collection expected not to be a subset of . - - - The collection expected not to be a superset of - - - Thrown if every element in is also found in - . - - - - - Tests whether one collection is not a subset of another collection and - throws an exception if all elements in the subset are also in the - superset. - - - The collection expected not to be a subset of . - - - The collection expected not to be a superset of - - - The message to include in the exception when every element in - is also found in . - The message is shown in test results. - - - Thrown if every element in is also found in - . - - - - - Tests whether one collection is not a subset of another collection and - throws an exception if all elements in the subset are also in the - superset. - - - The collection expected not to be a subset of . - - - The collection expected not to be a superset of - - - The message to include in the exception when every element in - is also found in . - The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if every element in is also found in - . - - - - - Tests whether two collections contain the same elements and throws an - exception if either collection contains an element not in the other - collection. - - - The first collection to compare. This contains the elements the test - expects. - - - The second collection to compare. This is the collection produced by - the code under test. - - - Thrown if an element was found in one of the collections but not - the other. - - - - - Tests whether two collections contain the same elements and throws an - exception if either collection contains an element not in the other - collection. - - - The first collection to compare. This contains the elements the test - expects. - - - The second collection to compare. This is the collection produced by - the code under test. - - - The message to include in the exception when an element was found - in one of the collections but not the other. The message is shown - in test results. - - - Thrown if an element was found in one of the collections but not - the other. - - - - - Tests whether two collections contain the same elements and throws an - exception if either collection contains an element not in the other - collection. - - - The first collection to compare. This contains the elements the test - expects. - - - The second collection to compare. This is the collection produced by - the code under test. - - - The message to include in the exception when an element was found - in one of the collections but not the other. The message is shown - in test results. - - - An array of parameters to use when formatting . - - - Thrown if an element was found in one of the collections but not - the other. - - - - - Tests whether two collections contain the different elements and throws an - exception if the two collections contain identical elements without regard - to order. - - - The first collection to compare. This contains the elements the test - expects to be different than the actual collection. - - - The second collection to compare. This is the collection produced by - the code under test. - - - Thrown if the two collections contained the same elements, including - the same number of duplicate occurrences of each element. - - - - - Tests whether two collections contain the different elements and throws an - exception if the two collections contain identical elements without regard - to order. - - - The first collection to compare. This contains the elements the test - expects to be different than the actual collection. - - - The second collection to compare. This is the collection produced by - the code under test. - - - The message to include in the exception when - contains the same elements as . The message - is shown in test results. - - - Thrown if the two collections contained the same elements, including - the same number of duplicate occurrences of each element. - - - - - Tests whether two collections contain the different elements and throws an - exception if the two collections contain identical elements without regard - to order. - - - The first collection to compare. This contains the elements the test - expects to be different than the actual collection. - - - The second collection to compare. This is the collection produced by - the code under test. - - - The message to include in the exception when - contains the same elements as . The message - is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if the two collections contained the same elements, including - the same number of duplicate occurrences of each element. - - - - - Tests whether all elements in the specified collection are instances - of the expected type and throws an exception if the expected type is - not in the inheritance hierarchy of one or more of the elements. - - - The collection containing elements the test expects to be of the - specified type. - - - The expected type of each element of . - - - Thrown if an element in is null or - is not in the inheritance hierarchy - of an element in . - - - - - Tests whether all elements in the specified collection are instances - of the expected type and throws an exception if the expected type is - not in the inheritance hierarchy of one or more of the elements. - - - The collection containing elements the test expects to be of the - specified type. - - - The expected type of each element of . - - - The message to include in the exception when an element in - is not an instance of - . The message is shown in test results. - - - Thrown if an element in is null or - is not in the inheritance hierarchy - of an element in . - - - - - Tests whether all elements in the specified collection are instances - of the expected type and throws an exception if the expected type is - not in the inheritance hierarchy of one or more of the elements. - - - The collection containing elements the test expects to be of the - specified type. - - - The expected type of each element of . - - - The message to include in the exception when an element in - is not an instance of - . The message is shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if an element in is null or - is not in the inheritance hierarchy - of an element in . - - - - - Tests whether the specified collections are equal and throws an exception - if the two collections are not equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects. - - - The second collection to compare. This is the collection produced by the - code under test. - - - Thrown if is not equal to - . - - - - - Tests whether the specified collections are equal and throws an exception - if the two collections are not equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects. - - - The second collection to compare. This is the collection produced by the - code under test. - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - Thrown if is not equal to - . - - - - - Tests whether the specified collections are equal and throws an exception - if the two collections are not equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects. - - - The second collection to compare. This is the collection produced by the - code under test. - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is not equal to - . - - - - - Tests whether the specified collections are unequal and throws an exception - if the two collections are equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects - not to match . - - - The second collection to compare. This is the collection produced by the - code under test. - - - Thrown if is equal to . - - - - - Tests whether the specified collections are unequal and throws an exception - if the two collections are equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects - not to match . - - - The second collection to compare. This is the collection produced by the - code under test. - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - Thrown if is equal to . - - - - - Tests whether the specified collections are unequal and throws an exception - if the two collections are equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects - not to match . - - - The second collection to compare. This is the collection produced by the - code under test. - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is equal to . - - - - - Tests whether the specified collections are equal and throws an exception - if the two collections are not equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects. - - - The second collection to compare. This is the collection produced by the - code under test. - - - The compare implementation to use when comparing elements of the collection. - - - Thrown if is not equal to - . - - - - - Tests whether the specified collections are equal and throws an exception - if the two collections are not equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects. - - - The second collection to compare. This is the collection produced by the - code under test. - - - The compare implementation to use when comparing elements of the collection. - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - Thrown if is not equal to - . - - - - - Tests whether the specified collections are equal and throws an exception - if the two collections are not equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects. - - - The second collection to compare. This is the collection produced by the - code under test. - - - The compare implementation to use when comparing elements of the collection. - - - The message to include in the exception when - is not equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is not equal to - . - - - - - Tests whether the specified collections are unequal and throws an exception - if the two collections are equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects - not to match . - - - The second collection to compare. This is the collection produced by the - code under test. - - - The compare implementation to use when comparing elements of the collection. - - - Thrown if is equal to . - - - - - Tests whether the specified collections are unequal and throws an exception - if the two collections are equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects - not to match . - - - The second collection to compare. This is the collection produced by the - code under test. - - - The compare implementation to use when comparing elements of the collection. - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - Thrown if is equal to . - - - - - Tests whether the specified collections are unequal and throws an exception - if the two collections are equal. Equality is defined as having the same - elements in the same order and quantity. Different references to the same - value are considered equal. - - - The first collection to compare. This is the collection the tests expects - not to match . - - - The second collection to compare. This is the collection produced by the - code under test. - - - The compare implementation to use when comparing elements of the collection. - - - The message to include in the exception when - is equal to . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is equal to . - - - - - Constructs a dictionary containing the number of occurrences of each - element in the specified collection. - - - The collection to process. - - - The number of null elements in the collection. - - - A dictionary containing the number of occurrences of each element - in the specified collection. - - - - - Determines whether the first collection is a subset of the second - collection. If either set contains duplicate elements, the number - of occurrences of the element in the subset must be less than or - equal to the number of occurrences in the superset. - - - The collection the test expects to be contained in . - - - The collection the test expects to contain . - - - True if is a subset of - , false otherwise. - - - - - Finds a mismatched element between the two collections. A mismatched - element is one that appears a different number of times in the - expected collection than it does in the actual collection. The - collections are assumed to be different non-null references with the - same number of elements. The caller is responsible for this level of - verification. If there is no mismatched element, the function returns - false and the out parameters should not be used. - - The first collection to compare. - The second collection to compare. - - The expected number of occurrences of - or 0 if there is no mismatched - element. - - - The actual number of occurrences of - or 0 if there is no mismatched - element. - - - The mismatched element (may be null) or null if there is no - mismatched element. - - - true if a mismatched element was found; false otherwise. - - - - - compares the objects using object.Equals - - - - - This class is designed to help user doing unit testing. - GenericParameterHelper satisfies some comment generic type constraints - such as: - 1. public default constructor - 2. implements common interface: IComparable, IEnumerable, ICloneable - - - - - - public default constructor, satisfies the constraint in C# generics. - This constructor initializes the Data property to a random value. - - - - - This constructor initializes the Data property to a user-supplied value - - - - - - Do the value comparison for two GenericParameterHelper object - - object to do comparison with - true if obj has the same value as 'this' GenericParameterHelper object. - false otherwise. - - - - Returns a hash code for this object. - - - - - - Compares to the object. - - - - - - - Returns an IEnumerator object whose length is derived from - the Data property. - - - - - - Returns a GenericParameterHelper object that is equal to - 'this' one. - - - - - - Gets or sets the Data property. - - - - - Provides method signature discovery for generic methods. - - - - - Given a set of methods that match the base criteria, select a method based - upon an array of types. This method should return null if no method matches - the criteria. - - - - - Set of string assertions. - - - - - Tests whether the specified string contains the specified substring - and throws an exception if the substring does not occur within the - test string. - - - The string that is expected to contain . - - - The string expected to occur within . - - - Thrown if is not found in - . - - - - - Tests whether the specified string contains the specified substring - and throws an exception if the substring does not occur within the - test string. - - - The string that is expected to contain . - - - The string expected to occur within . - - - The message to include in the exception when - is not in . The message is shown in - test results. - - - Thrown if is not found in - . - - - - - Tests whether the specified string contains the specified substring - and throws an exception if the substring does not occur within the - test string. - - - The string that is expected to contain . - - - The string expected to occur within . - - - The message to include in the exception when - is not in . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if is not found in - . - - - - - Tests whether the specified string begins with the specified substring - and throws an exception if the test string does not start with the - substring. - - - The string that is expected to begin with . - - - The string expected to be a prefix of . - - - Thrown if does not begin with - . - - - - - Tests whether the specified string begins with the specified substring - and throws an exception if the test string does not start with the - substring. - - - The string that is expected to begin with . - - - The string expected to be a prefix of . - - - The message to include in the exception when - does not begin with . The message is - shown in test results. - - - Thrown if does not begin with - . - - - - - Tests whether the specified string begins with the specified substring - and throws an exception if the test string does not start with the - substring. - - - The string that is expected to begin with . - - - The string expected to be a prefix of . - - - The message to include in the exception when - does not begin with . The message is - shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if does not begin with - . - - - - - Tests whether the specified string ends with the specified substring - and throws an exception if the test string does not end with the - substring. - - - The string that is expected to end with . - - - The string expected to be a suffix of . - - - Thrown if does not end with - . - - - - - Tests whether the specified string ends with the specified substring - and throws an exception if the test string does not end with the - substring. - - - The string that is expected to end with . - - - The string expected to be a suffix of . - - - The message to include in the exception when - does not end with . The message is - shown in test results. - - - Thrown if does not end with - . - - - - - Tests whether the specified string ends with the specified substring - and throws an exception if the test string does not end with the - substring. - - - The string that is expected to end with . - - - The string expected to be a suffix of . - - - The message to include in the exception when - does not end with . The message is - shown in test results. - - - An array of parameters to use when formatting . - - - Thrown if does not end with - . - - - - - Tests whether the specified string matches a regular expression and - throws an exception if the string does not match the expression. - - - The string that is expected to match . - - - The regular expression that is - expected to match. - - - Thrown if does not match - . - - - - - Tests whether the specified string matches a regular expression and - throws an exception if the string does not match the expression. - - - The string that is expected to match . - - - The regular expression that is - expected to match. - - - The message to include in the exception when - does not match . The message is shown in - test results. - - - Thrown if does not match - . - - - - - Tests whether the specified string matches a regular expression and - throws an exception if the string does not match the expression. - - - The string that is expected to match . - - - The regular expression that is - expected to match. - - - The message to include in the exception when - does not match . The message is shown in - test results. - - - An array of parameters to use when formatting . - - - Thrown if does not match - . - - - - - Tests whether the specified string does not match a regular expression - and throws an exception if the string matches the expression. - - - The string that is expected not to match . - - - The regular expression that is - expected to not match. - - - Thrown if matches . - - - - - Tests whether the specified string does not match a regular expression - and throws an exception if the string matches the expression. - - - The string that is expected not to match . - - - The regular expression that is - expected to not match. - - - The message to include in the exception when - matches . The message is shown in test - results. - - - Thrown if matches . - - - - - Tests whether the specified string does not match a regular expression - and throws an exception if the string matches the expression. - - - The string that is expected not to match . - - - The regular expression that is - expected to not match. - - - The message to include in the exception when - matches . The message is shown in test - results. - - - An array of parameters to use when formatting . - - - Thrown if matches . - - - - - TestContext class. This class should be fully abstract and not contain any - members. The adapter will implement the members. Users in the framework should - only access this via a well-defined interface. - - - - - Used to write trace messages while the test is running - - format string - the arguments - - - - Adds a file name to the list in TestResult.ResultFileNames - - - - - Begins a timer with the specified name - - - - - Ends a timer with the specified name - - - - - Per test properties - - - - - - Current data row when test is used for data driven testing. - - - - - Current data connection row when test is used for data driven testing. - - - - - Gets the test logs directory. - - - - - Gets the test directory. - - - - - Gets the test deployment directory. - - - - - Gets the test name. - - - - - Gets the CurrentTestOutcome. - - - - - Outcome of a test or a run. - If a new successful state needs to be added you will need to modify - RunResultAndStatistics in TestRun and TestOutcomeHelper below. - - NOTE: the order is important and is used for computing outcome for aggregations. - More important outcomes come first. See TestOutcomeHelper.GetAggregationOutcome. - - - - - Test was executed, but there were issues. - Issues may involve exceptions or failed assertions. - - - - - Test has completed, but we can't say if it passed or failed. - May be used for aborted tests... - - - - - Test was executed w/o any issues. - - - - - Test is currently executing. - - - - - There was a system error while we were trying to execute a test. - - - - - The test timed out. - - - - - Test was aborted by the user. - - - - - Test is in an unknown state - - - - - The data row. - - - - - The database connection. - - - - - Marks a test class. - - - - - Initializes a new test class attribute. - - - - - Marks a test method. - - - - - Initializes a new TestMethodAttribute. - - - - - A method marker called before a test method runs. - - - - - Initializes a new TestInitializeAttribute. - - - - - A method marker called after a test method runs. - - - - - Initializes a new TestCleanupAttribute. - - - - - Ignores a unit test. - - - - - Initializes a new IgnoreAttribute. - - - - - The ExpectedExceptionAttribute. - - - - - Initializes the ExpectedExceptionAttribute. - - The exception type. - - - - Initializes the ExpectedExceptionAttribute. - - The exception type. - The message. - - - - Gets the exception type. - - - - - Gets the message. - - - - - The test property attribute. - - - - - Initializes the TestPropertyAttribute. - - - - - - - Gets the name. - - - - - Gets the value. - - - - - The ClassInitializeAttribute. - - - - - Initializes the ClassInitializeAttribute. - - - - - The ClassCleanupAttribute. - - - - - Initializes the ClassCleanupAttribute. - - - - - The AssemblyInitializeAttribute. - - - - - Initializes the AssemblyInitializeAttribute. - - - - - The AssemblyCleanupAttribute. - - - - - Initializes the AssemblyCleanupAttribute. - - - - - Description of the test. - - - - - Initializes the DescriptionAttribute. - - The description. - - - - Gets the description. - - - - - The OwnerAttribute. - - - - - Initializes the OwnerAttribute. - - The owner. - - - - Gets the owner. - - - - - CSS Project Structure URI. - - - - - Initializes the CSS Project Structure URI. - - The structure. - - - - Gets the property structure. - - - - - CSS Iteration URI - - - - - Initializes the CssIterationAttribute. - - The parameter. - - - - Gets the CssIteration. - - - - - Priority attribute; used to specify the priority of a unit test. - - - - - Initializes the PriorityAttribute. - - The priority. - - - - Gets the Priority. - - - - - Timeout attribute; used to specify the timeout of a unit test. - - - - - Initializes the TimeoutAttribute. - - - - - - Gets the Timeout. - - - - - WorkItem attribute; used to specify a work item associated with this test. - - - - - Initializes the WorkItemAttribute. - - - - - - Gets the ID. - - - - - HostType specifies the type of host that this unit test will - run in. - - - - - Initializes the host type attribute. - - - - - - Constructor of HostTypeAttribute. - - The type of the host. - Custom data for the host adapter. - - - The reason this is string (and not object) is that currently CMI cannot parse arbitrary instances of object and we deprioritized changing CMI. - - - - Gets the host type. - - - - - Gets the host data. - - - - - Used to specify deployment item (file or directory) for per-test deployment. - Can be specified on test class or test method. - Can have multiple instances of the attribute to specify more than one item. - The item path can be absolute or relative, if relative, it is relative to RunConfig.RelativePathRoot. - - - [DeploymentItem("file1.xml")] - [DeploymentItem("file2.xml", "DataFiles")] - [DeploymentItem("bin\Debug")] - - - - - Initializes DeploymentItemAttribute. - - The path. - - - - Initializes DeploymentItemAttribute. - - The path. - The output directory. - - - - Verifiable interface. - - - - - The IsValid method. - - Returns a value. - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/System.Xml.Linq.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/System.Xml.Linq.dll deleted file mode 100644 index 7fedd14..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/System.Xml.Linq.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/System.Xml.Linq.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/System.Xml.Linq.xml deleted file mode 100644 index 7c136ac..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/System.Xml.Linq.xml +++ /dev/null @@ -1,1655 +0,0 @@ - - - - System.Xml.Linq - - - - Contains the LINQ to XML extension methods. - - - Returns a collection of elements that contains the ancestors of every node in the source collection. - An of that contains the ancestors of every node in the source collection. - An of that contains the source collection. - The type of the objects in , constrained to . - - is null. - - - Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching are included in the collection. - An of that contains the ancestors of every node in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - The type of the objects in , constrained to . - - is null. - - - Returns a collection of elements that contains every element in the source collection, and the ancestors of every element in the source collection. - An of that contains every element in the source collection, and the ancestors of every element in the source collection. - An of that contains the source collection. - - is null. - - - Returns a filtered collection of elements that contains every element in the source collection, and the ancestors of every element in the source collection. Only elements that have a matching are included in the collection. - An of that contains every element in the source collection, and the ancestors of every element in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - - is null. - - - Returns a collection of the attributes of every element in the source collection. - An of that contains the attributes of every element in the source collection. - An of that contains the source collection. - - is null. - - - Returns a filtered collection of the attributes of every element in the source collection. Only elements that have a matching are included in the collection. - An of that contains a filtered collection of the attributes of every element in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - - is null. - - - Returns a collection of the descendant nodes of every document and element in the source collection. - An of of the descendant nodes of every document and element in the source collection. - An of that contains the source collection. - The type of the objects in , constrained to . - - is null. - - - Returns a collection of nodes that contains every element in the source collection, and the descendant nodes of every element in the source collection. - An of that contains every element in the source collection, and the descendant nodes of every element in the source collection. - An of that contains the source collection. - - is null. - - - Returns a collection of elements that contains the descendant elements of every element and document in the source collection. - An of that contains the descendant elements of every element and document in the source collection. - An of that contains the source collection. - The type of the objects in , constrained to . - - is null. - - - Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching are included in the collection. - An of that contains the descendant elements of every element and document in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - The type of the objects in , constrained to . - - is null. - - - Returns a collection of elements that contains every element in the source collection, and the descendent elements of every element in the source collection. - An of that contains every element in the source collection, and the descendent elements of every element in the source collection. - An of that contains the source collection. - - is null. - - - Returns a filtered collection of elements that contains every element in the source collection, and the descendents of every element in the source collection. Only elements that have a matching are included in the collection. - An of that contains every element in the source collection, and the descendents of every element in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - - is null. - - - Returns a collection of the child elements of every element and document in the source collection. - An of of the child elements of every element or document in the source collection. - An of that contains the source collection. - The type of the objects in , constrained to . - - is null. - - - Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching are included in the collection. - An of of the child elements of every element and document in the source collection. Only elements that have a matching are included in the collection. - An of that contains the source collection. - The to match. - The type of the objects in , constrained to . - - is null. - - - Returns a collection of nodes that contains all nodes in the source collection, sorted in document order. - An of that contains all nodes in the source collection, sorted in document order. - An of that contains the source collection. - The type of the objects in , constrained to . - - - Returns a collection of the child nodes of every document and element in the source collection. - An of of the child nodes of every document and element in the source collection. - An of that contains the source collection. - The type of the objects in , constrained to . - - is null. - - - Removes every attribute in the source collection from its parent element. - An of that contains the source collection. - - is null. - - - Removes every node in the source collection from its parent node. - An of that contains the source collection. - The type of the objects in , constrained to . - - is null. - - - Specifies load options when parsing XML. - - - Does not preserve insignificant white space or load base URI and line information. - - - Preserves insignificant white space while parsing. - - - Requests the base URI information from the , and makes it available via the property. - - - Requests the line information from the and makes it available via properties on . - - - Specifies whether to omit duplicate namespaces when loading an with an . - - - No reader options specified. - - - Omit duplicate namespaces when loading the . - - - Specifies serialization options. - - - Formats (indent) the XML while serializing. - - - Preserves all insignificant white space while serializing. - - - Removes duplicate namespace declarations. For the duplicate namespace declarations to be removed, both the prefix and the namespace have to match. - - - Represents an XML attribute. - - - Initializes a new instance of the class from another object. - An object to copy from. - The parameter is null. - - - Initializes a new instance of the class from the specified name and value. - The of the attribute. - An containing the value of the attribute. - The or parameter is null. - - - Gets an empty collection of attributes. - An of containing an empty collection. - - - Determines if this attribute is a namespace declaration. - true if this attribute is a namespace declaration; otherwise false. - - - Gets the expanded name of this attribute. - An containing the name of this attribute. - - - Gets the next attribute of the parent element. - An containing the next attribute of the parent element. - - - Gets the node type for this node. - The node type. For objects, this value is . - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to a of . - The attribute does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The attribute does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The attribute does not contain a valid value. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to a of . - The attribute does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to a of . - The attribute does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to a of . - The attribute does not contain a valid value. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to an . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to a of . - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The attribute does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to a of . - The attribute does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to a of . - The attribute does not contain a valid value. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The attribute does not contain a valid value. - - - Cast the value of this to an . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to a of . - The attribute does not contain a valid value. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The attribute does not contain a valid value. - The parameter is null. - - - Gets the previous attribute of the parent element. - An containing the previous attribute of the parent element. - - - Removes this attribute from its parent element. - The parent element is null. - - - Sets the value of this attribute. - The value to assign to this attribute. - The parameter is null. - The is an . - - - Converts the current object to a string representation. - A containing the XML text representation of an attribute and its value. - - - Gets or sets the value of this attribute. - A containing the value of this attribute. - When setting, the is null. - - - Represents a text node that contains CDATA. - - - Initializes a new instance of the class. - A string that contains the value of the node. - - - Initializes a new instance of the class. - The node to copy from. - - - Gets the node type for this node. - The node type. For objects, this value is . - - - Writes this CDATA object to an . - An into which this method will write. - - is null. - - - Represents an XML comment. - - - Initializes a new instance of the class with the specified string content. - A string that contains the contents of the new object. - The parameter is null. - - - Initializes a new instance of the class from an existing comment node. - The node to copy from. - The parameter is null. - - - Gets the node type for this node. - The node type. For objects, this value is . - - - Gets or sets the string value of this comment. - A that contains the string value of this comment. - The is null. - - - Write this comment to an . - An into which this method will write. - - is null. - - - Represents a node that can contain other nodes. - - - Adds the specified content as children of this . - A content object containing simple content or a collection of content objects to be added. - - - Adds the specified content as children of this . - A parameter list of content objects. - - - Adds the specified content as the first children of this document or element. - A content object containing simple content or a collection of content objects to be added. - - - Adds the specified content as the first children of this document or element. - A parameter list of content objects. - The parent is null. - - - Creates an that can be used to add nodes to the . - An that is ready to have content written to it. - - - Returns a collection of the descendant nodes for this document or element, in document order. - An of containing the descendant nodes of the , in document order. - - - Returns a collection of the descendant elements for this document or element, in document order. - An of containing the descendant elements of the . - - - Returns a filtered collection of the descendant elements for this document or element, in document order. Only elements that have a matching are included in the collection. - An of containing the descendant elements of the that match the specified . - The to match. - - - Gets the first (in document order) child element with the specified . - A that matches the specified , or null. - The to match. - - - Returns a collection of the child elements of this element or document, in document order. - An of containing the child elements of this , in document order. - - - Returns a filtered collection of the child elements of this element or document, in document order. Only elements that have a matching are included in the collection. - An of containing the children of the that have a matching , in document order. - The to match. - - - Get the first child node of this node. - An containing the first child node of the . - - - Get the last child node of this node. - An containing the last child node of the . - - - Returns a collection of the child nodes of this element or document, in document order. - An of containing the contents of this , in document order. - - - Removes the child nodes from this document or element. - - - Replaces the children nodes of this document or element with the specified content. - A content object containing simple content or a collection of content objects that replace the children nodes. - - - Replaces the children nodes of this document or element with the specified content. - A parameter list of content objects. - - - Represents an XML declaration. - - - Initializes a new instance of the class with the specified version, encoding, and standalone status. - The version of the XML, usually "1.0". - The encoding for the XML document. - A string containing "yes" or "no" that specifies whether the XML is standalone or requires external entities to be resolved. - - - Initializes a new instance of the class from another object. - The used to initialize this object. - - is null. - - - Gets or sets the encoding for this document. - A containing the code page name for this document. - - - Gets or sets the standalone property for this document. - A containing the standalone property for this document. - - - Provides the declaration as a formatted string. - A that contains the formatted XML string. - - - Gets or sets the version property for this document. - A containing the version property for this document. - - - Represents an XML document. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with the specified content. - A parameter list of content objects to add to this document. - - - Initializes a new instance of the class with the specified and content. - An for the document. - The content of the document. - - - Initializes a new instance of the class from an existing object. - The object that will be copied. - - - Gets or sets the XML declaration for this document. - An that contains the XML declaration for this document. - - - Gets the Document Type Definition (DTD) for this document. - A that contains the DTD for this document. - - - Creates a new instance using the specified stream. - An object used to read the data contained in the stream. - The stream containing the XML data. - - - Creates a new instance using the specified stream, optionally preserving white space, setting the base URI, and retaining line information. - An object used to read the data contained in the stream. - The stream containing the XML data. - A that specifies whether to load base URI and line information. - - - Creates a new from a . - An that contains the contents of the specified . - A that contains the content for the . - - - Creates a new from a , optionally preserving white space, setting the base URI, and retaining line information. - An that contains the XML that was read from the specified . - A that contains the content for the . - A that specifies white space behavior, and whether to load base URI and line information. - - - Creates a new from a file located in the application's XAP package. - An that contains the contents of the specified file. - A URI string that references the file to be loaded into a new . This file is located in the application's XAP package. If you want to download a file from some other location, follow the steps described in How to: Load an XML file from an Arbitrary URI Location with LINQ to XML. - - - Creates a new from a file located in the application's XAP package, optionally preserving white space, setting the base URI, and retaining line information. - An that contains the contents of the specified file. - A URI string that references the file to be loaded into a new . This file is located in the application's XAP package. If you want to download a file from some other location, follow the steps described in How to: Load an XML file from an Arbitrary URI Location with LINQ to XML. - A that specifies how white space is handled and whether to load base URI and line information. - - - Creates a new from an . - An that contains the contents of the specified . - A that contains the content for the . - - - Creates a new from an , optionally setting the base URI, and retaining line information. - An that contains the XML that was read from the specified . - A that will be read for the content of the . - A that specifies whether to load base URI and line information. - - - Gets the node type for this node. - The node type. For objects, this value is . - - - Creates a new from a string. - An populated from the string that contains XML. - A string that contains XML. - - - Creates a new from a string, optionally preserving white space, setting the base URI, and retaining line information. - An populated from the string that contains XML. - A string that contains XML. - A that specifies white space behavior, and whether to load base URI and line information. - - - Gets the root element of the XML Tree for this document. - The root of the XML tree. - - - Outputs this to the specified . - The stream to output this to. - - - Outputs this to the specified , optionally specifying formatting behavior. - The stream to output this to. - A that specifies formatting behavior. - - - Serialize this to a . - A that the will be written to. - - - Serialize this to a , optionally disabling formatting. - The to output the XML to. - A that specifies formatting behavior. - - - Serialize this to an . - A that the will be written to. - - - Write this document to an . - An into which this method will write. - - - Represents an XML Document Type Definition (DTD). - - - Initializes an instance of the class. - A that contains the qualified name of the DTD, which is the same as the qualified name of the root element of the XML document. - A that contains the public identifier of an external public DTD. - A that contains the system identifier of an external private DTD. - A that contains the internal subset for an internal DTD. - - - Initializes an instance of the class from another object. - An object to copy from. - - - Gets or sets the internal subset for this Document Type Definition (DTD). - A that contains the internal subset for this Document Type Definition (DTD). - - - Gets or sets the name for this Document Type Definition (DTD). - A that contains the name for this Document Type Definition (DTD). - - - Gets the node type for this node. - The node type. For objects, this value is . - - - Gets or sets the public identifier for this Document Type Definition (DTD). - A that contains the public identifier for this Document Type Definition (DTD). - - - Gets or sets the system identifier for this Document Type Definition (DTD). - A that contains the system identifier for this Document Type Definition (DTD). - - - Write this to an . - An into which this method will write. - - - Represents an XML element. - - - Initializes a new instance of the class from another object. - An object to copy from. - - - Initializes a new instance of the class with the specified name. - An that contains the name of the element. - - - Initializes a new instance of the class with the specified name and content. - An that contains the element name. - The contents of the element. - - - Initializes a new instance of the class with the specified name and content. - An that contains the element name. - The initial content of the element. - - - Initializes a new instance of the class from an object. - An that contains unevaluated queries that will be iterated for the contents of this . - - - Returns a collection of elements that contain this element, and the ancestors of this element. - An of of elements that contain this element, and the ancestors of this element. - - - Returns a filtered collection of elements that contain this element, and the ancestors of this element. Only elements that have a matching are included in the collection. - An of that contain this element, and the ancestors of this element. Only elements that have a matching are included in the collection. - The to match. - - - Returns the of this that has the specified . - An that has the specified ; null if there is no attribute with the specified name. - The of the to get. - - - Returns a collection of attributes of this element. - An of of attributes of this element. - - - Returns a filtered collection of attributes of this element. Only elements that have a matching are included in the collection. - An of that contains the attributes of this element. Only elements that have a matching are included in the collection. - The to match. - - - Returns a collection of nodes that contain this element, and all descendant nodes of this element, in document order. - An of that contain this element, and all descendant nodes of this element, in document order. - - - Returns a collection of elements that contain this element, and all descendant elements of this element, in document order. - An of of elements that contain this element, and all descendant elements of this element, in document order. - - - Returns a filtered collection of elements that contain this element, and all descendant elements of this element, in document order. Only elements that have a matching are included in the collection. - An of that contain this element, and all descendant elements of this element, in document order. Only elements that have a matching are included in the collection. - The to match. - - - Gets an empty collection of elements. - An of that contains an empty collection. - - - Gets the first attribute of this element. - An that contains the first attribute of this element. - - - Gets the default of this . - An that contains the default namespace of this . - - - Gets the namespace associated with a particular prefix for this . - An for the namespace associated with the prefix for this . - A string that contains the namespace prefix to look up. - - - Gets the prefix associated with a namespace for this . - A that contains the namespace prefix. - An to look up. - - - Gets a value indicating whether this element as at least one attribute. - true if this element has at least one attribute; otherwise false. - - - Gets a value indicating whether this element has at least one child element. - true if this element has at least one child element; otherwise false. - - - Gets a value indicating whether this element contains no content. - true if this element contains no content; otherwise false. - - - Gets the last attribute of this element. - An that contains the last attribute of this element. - - - Creates a new instance using the specified stream. - An object used to read the data contained in the stream. - The stream containing the XML data. - - - Creates a new instance using the specified stream, optionally preserving white space, setting the base URI, and retaining line information. - An object used to read the data contained in the stream. - The stream containing the XML data. - A that specifies whether to load base URI and line information. - - - Loads an from a . - An that contains the XML that was read from the specified . - A that will be read for the content. - - - Loads an from a , optionally preserving white space and retaining line information. - An that contains the XML that was read from the specified . - A that will be read for the content. - A that specifies white space behavior, and whether to load base URI and line information. - - - Loads an from a file located in the applications' XAP package. - An that contains the contents of the specified file. - A URI string that references the file to be loaded into a new . This file is located in the application's XAP package. If you want to download a file from some other location, follow the steps described in How to: Load an XML file from an Arbitrary URI Location with LINQ to XML. - - - Loads an from a file located in the application's XAP package, optionally preserving white space, setting the base URI, and retaining line information. - An that contains the contents of the specified file. - A URI string that references the file to be loaded into a new . This file is located in the application's XAP package. If you want to download a file from some other location, follow the steps described in How to: Load an XML file from an Arbitrary URI Location with LINQ to XML. - A that specifies white space behavior, and whether to load base URI and line information. - - - Loads an from an . - An that contains the XML that was read from the specified . - A that will be read for the content of the . - - - Loads an from an , optionally preserving white space, setting the base URI, and retaining line information. - An that contains the XML that was read from the specified . - A that will be read for the content of the . - A that specifies white space behavior, and whether to load base URI and line information. - - - Gets the name of this element. - An that contains the name of this element. - - - Gets the node type for this node. - The node type. For objects, this value is . - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to an of . - The element does not contain a valid value. - - - Cast the value of this to an . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to a of . - A of that contains the content of this . - The to cast to of . - The element does not contain a valid value. - - - Cast the value of this to an . - A that contains the content of this . - The to cast to . - The element does not contain a valid value. - The parameter is null. - - - Load an from a string that contains XML. - An populated from the string that contains XML. - A that contains XML. - - - Load an from a string that contains XML, optionally preserving white space and retaining line information. - An populated from the string that contains XML. - A that contains XML. - A that specifies white space behavior, and whether to load base URI and line information. - - - Removes nodes and attributes from this . - - - Removes the attributes of this . - - - Replaces the child nodes and the attributes of this element with the specified content. - The content that will replace the child nodes and attributes of this element. - - - Replaces the child nodes and the attributes of this element with the specified content. - A parameter list of content objects. - - - Replaces the attributes of this element with the specified content. - The content that will replace the attributes of this element. - - - Replaces the attributes of this element with the specified content. - A parameter list of content objects. - - - Outputs this to the specified . - The stream to output this to. - - - Outputs this to the specified , optionally specifying formatting behavior. - The stream to output this to. - A that specifies formatting behavior. - - - Serialize this element to a . - A that the will be written to. - - - Serialize this element to a , optionally disabling formatting. - The to output the XML to. - A that specifies formatting behavior. - - - Serialize this element to an . - A that the will be written to. - - - Sets the value of an attribute, adds an attribute, or removes an attribute. - An that contains the name of the attribute to change. - The value to assign to the attribute. The attribute is removed if the value is null. Otherwise, the value is converted to its string representation and assigned to the property of the attribute. - The is an instance of . - - - Sets the value of a child element, adds a child element, or removes a child element. - An that contains the name of the child element to change. - The value to assign to the child element. The child element is removed if the value is null. Otherwise, the value is converted to its string representation and assigned to the property of the child element. - The is an instance of . - - - Sets the value of this element. - The value to assign to this element. The value is converted to its string representation and assigned to the property. - The is null. - The is an . - - - Gets an XML schema definition that describes the XML representation of this object. - An that describes the XML representation of the object that is produced by the method and consumed by the method. - - - Generates an object from its XML representation. - The from which the object is deserialized. - - - Converts an object into its XML representation. - The to which this object is serialized. - - - Gets the concatenated text contents of this element. - A that contains all of the text content of this element. If there are multiple text nodes, they will be concatenated. - - - Write this element to an . - An into which this method will write. - - - Represents a name of an XML element or attribute. - - - Determines whether the specified is equal to this . - true if the specified is equal to the current ; otherwise false. - The to compare to the current . - - - Gets an object from an expanded name. - An object constructed from the expanded name. - A that contains an expanded XML name in the format {namespace}localname. - - - Gets an object from a local name and a namespace. - An object created from the specified local name and namespace. - A local (unqualified) name. - An XML namespace. - - - Gets a hash code for this . - An that contains the hash code for the . - - - Gets the local (unqualified) part of the name. - A that contains the local (unqualified) part of the name. - - - Gets the namespace part of the fully qualified name. - An that contains the namespace part of the name. - - - Returns the URI of the for this . - The URI of the for this . - - - Returns a value indicating whether two instances of are equal. - true if and are equal; otherwise false. - The first to compare. - The second to compare. - - - Converts a string formatted as an expanded XML name (that is,{namespace}localname) to an object. - An object constructed from the expanded name. - A string that contains an expanded XML name in the format {namespace}localname. - - - Returns a value indicating whether two instances of are not equal. - true if and are not equal; otherwise false. - The first to compare. - The second to compare. - - - Indicates whether the current is equal to the specified . - true if this is equal to the specified , otherwise false. - The to compare with this . - - - Returns the expanded XML name in the format {namespace}localname. - A that contains the expanded XML name in the format {namespace}localname. - - - Represents an XML namespace. This class cannot be inherited. - - - Determines whether the specified is equal to the current . - A that indicates whether the specified is equal to the current . - The to compare to the current . - - - Gets an for the specified Uniform Resource Identifier (URI). - An created from the specified URI. - A that contains a namespace URI. - - - Gets a hash code for this . - An that contains the hash code for the . - - - Returns an object created from this and the specified local name. - An created from this and the specified local name. - A that contains a local name. - - - Gets the Uniform Resource Identifier (URI) of this namespace. - A that contains the URI of the namespace. - - - Gets the object that corresponds to no namespace. - The that corresponds to no namespace. - - - Combines an object with a local name to create an . - The new constructed from the namespace and local name. - An that contains the namespace. - A that contains the local name. - - - Returns a value indicating whether two instances of are equal. - A that indicates whether and are equal. - The first to compare. - The second to compare. - - - Converts a string containing a Uniform Resource Identifier (URI) to an . - An constructed from the URI string. - A that contains the namespace URI. - - - Returns a value indicating whether two instances of are not equal. - A that indicates whether and are not equal. - The first to compare. - The second to compare. - - - Returns the URI of this . - The URI of this . - - - Gets the object that corresponds to the XML URI (http://www.w3.org/XML/1998/namespace). - The that corresponds to the XML URI (http://www.w3.org/XML/1998/namespace). - - - Gets the object that corresponds to the xmlns URI (http://www.w3.org/2000/xmlns/). - The that corresponds to the xmlns URI (http://www.w3.org/2000/xmlns/). - - - Represents the abstract concept of a node (one of: element, comment, document type, processing instruction, or text node) in the XML tree. - - - Adds the specified content immediately after this node. - A content object that contains simple content or a collection of content objects to be added after this node. - The parent is null. - - - Adds the specified content immediately after this node. - A parameter list of content objects. - The parent is null. - - - Adds the specified content immediately before this node. - A content object that contains simple content or a collection of content objects to be added before this node. - The parent is null. - - - Adds the specified content immediately before this node. - A parameter list of content objects. - The parent is null. - - - Returns a collection of the ancestor elements of this node. - An of of the ancestor elements of this node. - - - Returns a filtered collection of the ancestor elements of this node. Only elements that have a matching are included in the collection. - An of of the ancestor elements of this node. Only elements that have a matching are included in the collection.The nodes in the returned collection are in reverse document order.This method uses deferred execution. - The to match. - - - Compares two nodes to determine their relative XML document order. - An int containing 0 if the nodes are equal; -1 if is before ; 1 if is after . - First to compare. - Second to compare. - The two nodes do not share a common ancestor. - - - Creates an for this node. - An that can be used to read this node and its descendants. - - - Creates an for this node. - An that can be used to read this node and its descendants. - Specifies whether to omit duplicate namespaces. - - - Compares the values of two nodes, including the values of all descendant nodes. - true if the nodes are equal; otherwise false. - The first to compare. - The second to compare. - - - Gets a comparer that can compare the relative position of two nodes. - A that can compare the relative position of two nodes. - - - Returns a collection of the sibling elements after this node, in document order. - An of of the sibling elements after this node, in document order. - - - Returns a filtered collection of the sibling elements after this node, in document order. Only elements that have a matching are included in the collection. - An of of the sibling elements after this node, in document order. Only elements that have a matching are included in the collection. - The to match. - - - Returns a collection of the sibling elements before this node, in document order. - An of of the sibling elements before this node, in document order. - - - Returns a filtered collection of the sibling elements before this node, in document order. Only elements that have a matching are included in the collection. - An of of the sibling elements before this node, in document order. Only elements that have a matching are included in the collection. - The to match. - - - Gets a comparer that can compare two nodes for value equality. - A that can compare two nodes for value equality. - - - Determines if the current node appears after a specified node in terms of document order. - true if this node appears after the specified node; otherwise false. - The to compare for document order. - - - Determines if the current node appears before a specified node in terms of document order. - true if this node appears before the specified node; otherwise false. - The to compare for document order. - - - Gets the next sibling node of this node. - The that contains the next sibling node. - - - Returns a collection of the sibling nodes after this node, in document order. - An of of the sibling nodes after this node, in document order. - - - Returns a collection of the sibling nodes before this node, in document order. - An of of the sibling nodes before this node, in document order. - - - Gets the previous sibling node of this node. - The that contains the previous sibling node. - - - Creates an from an . - An that contains the node and its descendant nodes that were read from the reader. The runtime type of the node is determined by the node type () of the first node encountered in the reader. - An positioned at the node to read into this . - The is not positioned on a recognized node type. - The underlying throws an exception. - - - Removes this node from its parent. - The parent is null. - - - Replaces this node with the specified content. - Content that replaces this node. - - - Replaces this node with the specified content. - A parameter list of the new content. - - - Returns the indented XML for this node. - A containing the indented XML. - - - Returns the XML for this node, optionally disabling formatting. - A containing the XML. - A that specifies formatting behavior. - - - Writes this node to an . - An into which this method will write. - - - Contains functionality to compare nodes for their document order. This class cannot be inherited. - - - Initializes a new instance of the class. - - - Compares two nodes to determine their relative document order. - An that contains 0 if the nodes are equal; -1 if is before ; 1 if is after . - The first to compare. - The second to compare. - The two nodes do not share a common ancestor. - - - Compares nodes to determine whether they are equal. This class cannot be inherited. - - - Initializes a new instance of the class. - - - Compares the values of two nodes. - A indicating if the nodes are equal. - The first to compare. - The second to compare. - - - Returns a hash code based on an . - A that contains a value-based hash code for the node. - The to hash. - - - Represents a node or an attribute in an XML tree. - - - Adds an object to the annotation list of this . - An that contains the annotation to add. - - - Get the first annotation object of the specified type from this . - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - The type of the annotation to retrieve. - - - Gets the first annotation object of the specified type from this . - The that contains the first annotation object that matches the specified type, or null if no annotation is of the specified type. - The of the annotation to retrieve. - - - Gets a collection of annotations of the specified type for this . - An that contains the annotations for this . - The type of the annotations to retrieve. - - - Gets a collection of annotations of the specified type for this . - An of that contains the annotations that match the specified type for this . - The of the annotations to retrieve. - - - Gets the base URI for this . - A that contains the base URI for this . - - - Raised when this or any of its descendants have changed. - - - Raised when this or any of its descendants are about to change. - - - Gets the for this . - The for this . - - - Gets the node type for this . - The node type for this . - - - Gets the parent of this . - The parent of 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. - - - Gets a value indicating whether or not this has line information. - true if the has line information, otherwise false. - - - Gets the line number that the underlying reported for this . - An that contains the line number reported by the for this . - - - Gets the line position that the underlying reported for this . - An that contains the line position reported by the for this . - - - Specifies the event type when an event is raised for an . - - - An has been or will be added to an . - - - An has been or will be removed from an . - - - An has been or will be renamed. - - - The value of an has been or will be changed. In addition, a change in the serialization of an empty element (either from an empty tag to start/end tag pair or vice versa) raises this event. - - - Provides data for the and events. - - - Initializes a new instance of the class. - An that contains the event arguments for LINQ to XML events. - - - Event argument for an change event. - - - Event argument for a change event. - - - Gets the type of change. - An that contains the type of change. - - - Event argument for a change event. - - - Event argument for a change event. - - - Represents an XML processing instruction. - - - Initializes a new instance of the class. - A containing the target application for this . - The string data for this . - The or parameter is null. - The does not follow the constraints of an XML name. - - - Initializes a new instance of the class. - The node to copy from. - - - Gets or sets the string value of this processing instruction. - A that contains the string value of this processing instruction. - The string is null. - - - Gets the node type for this node. - The node type. For objects, this value is . - - - Gets or sets a string containing the target application for this processing instruction. - A containing the target application for this processing instruction. - The string is null. - The does not follow the constraints of an XML name. - - - Writes this processing instruction to an . - The to write this processing instruction to. - - - Represents elements in an XML tree that supports deferred streaming output. - - - Initializes a new instance of the class from the specified . - An that contains the name of the element. - - - Initializes a new instance of the class with the specified name and content. - An that contains the element name. - The contents of the element. - - - Initializes a new instance of the class with the specified name and content. - An that contains the element name. - The contents of the element. - - - Adds the specified content as children to this . - Content to be added to the streaming element. - - - Adds the specified content as children to this . - Content to be added to the streaming element. - - - Gets or sets the name of this streaming element. - An that contains the name of this streaming element. - - - Outputs this to the specified . - The stream to output this to. - - - Outputs this to the specified , optionally specifying formatting behavior. - The stream to output this to. - A that specifies formatting behavior. - - - Serialize this streaming element to a . - A that the will be written to. - - - Serialize this streaming element to a , optionally disabling formatting. - The to output the XML to. - A that specifies formatting behavior. - - - Serialize this streaming element to an . - A that the will be written to. - - - Returns the formatted (indented) XML for this streaming element. - A containing the indented XML. - - - Returns the XML for this streaming element, optionally disabling formatting. - A containing the XML. - A that specifies formatting behavior. - - - Writes this streaming element to an . - An into which this method will write. - - - Represents a text node. - - - Initializes a new instance of the class. - The that contains the value of the node. - - - Initializes a new instance of the class from another object. - The node to copy from. - - - Gets the node type for this node. - The node type. For objects, this value is . - - - Gets or sets the value of this node. - A that contains the value of this node. - - - Writes this node to an . - An into which this method will write. - - - Compares two nodes to determine their relative document order. - An that contains 0 if the nodes are equal; -1 if is before ; 1 if is after . - The first to compare. - The second to compare. - The two nodes do not share a common ancestor. - The two nodes are not derived from . - - - Compares the values of two nodes. - true if the nodes are equal; otherwise false. - The first to compare. - The second to compare. - - - Returns a hash code based on the value of a node. - A that contains a value-based hash code for the node. - The node to hash. - - - \ No newline at end of file diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/de/Microsoft.CSharp.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/de/Microsoft.CSharp.resources.dll deleted file mode 100644 index bc5e016..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/de/Microsoft.CSharp.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/de/System.Xml.Linq.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/de/System.Xml.Linq.resources.dll deleted file mode 100644 index 21692ce..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/de/System.Xml.Linq.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/es/Microsoft.CSharp.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/es/Microsoft.CSharp.resources.dll deleted file mode 100644 index af77736..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/es/Microsoft.CSharp.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/es/System.Xml.Linq.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/es/System.Xml.Linq.resources.dll deleted file mode 100644 index 63d282b..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/es/System.Xml.Linq.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/fr/Microsoft.CSharp.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/fr/Microsoft.CSharp.resources.dll deleted file mode 100644 index f7d3583..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/fr/Microsoft.CSharp.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/fr/System.Xml.Linq.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/fr/System.Xml.Linq.resources.dll deleted file mode 100644 index 8b74b86..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/fr/System.Xml.Linq.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/it/Microsoft.CSharp.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/it/Microsoft.CSharp.resources.dll deleted file mode 100644 index c8ed83a..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/it/Microsoft.CSharp.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/it/System.Xml.Linq.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/it/System.Xml.Linq.resources.dll deleted file mode 100644 index 0706764..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/it/System.Xml.Linq.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ja/Microsoft.CSharp.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ja/Microsoft.CSharp.resources.dll deleted file mode 100644 index 9a89e03..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ja/Microsoft.CSharp.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ja/System.Xml.Linq.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ja/System.Xml.Linq.resources.dll deleted file mode 100644 index 63bdf8f..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ja/System.Xml.Linq.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ko/Microsoft.CSharp.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ko/Microsoft.CSharp.resources.dll deleted file mode 100644 index 04ce047..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ko/Microsoft.CSharp.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ko/System.Xml.Linq.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ko/System.Xml.Linq.resources.dll deleted file mode 100644 index 65d5b12..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ko/System.Xml.Linq.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ru/Microsoft.CSharp.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ru/Microsoft.CSharp.resources.dll deleted file mode 100644 index 04bcf1c..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ru/Microsoft.CSharp.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ru/System.Xml.Linq.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ru/System.Xml.Linq.resources.dll deleted file mode 100644 index 53cedff..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/ru/System.Xml.Linq.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hans/Microsoft.CSharp.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hans/Microsoft.CSharp.resources.dll deleted file mode 100644 index da94005..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hans/Microsoft.CSharp.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hans/System.Xml.Linq.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hans/System.Xml.Linq.resources.dll deleted file mode 100644 index 3aac37f..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hans/System.Xml.Linq.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hant/Microsoft.CSharp.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hant/Microsoft.CSharp.resources.dll deleted file mode 100644 index 04038dc..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hant/Microsoft.CSharp.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hant/System.Xml.Linq.resources.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hant/System.Xml.Linq.resources.dll deleted file mode 100644 index a5980d2..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/sl5/zh-Hant/System.Xml.Linq.resources.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.dll deleted file mode 100644 index 9f3b79b..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.pdb deleted file mode 100644 index e6527a9..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.pri b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.pri deleted file mode 100644 index 337cca0..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.pri and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.xml deleted file mode 100644 index e561745..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/win81/FluentAssertions.xml +++ /dev/null @@ -1,1240 +0,0 @@ - - - - FluentAssertions - - - - - Represents the default exception in case no test framework is configured. - - - - - Throws a generic exception in case no other test harness is detected. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Represents an abstraction of a particular test framework such as MSTest, nUnit, etc. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Simulates the AppDomain class that is not available in Windows Store apps. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Provides methods for asserting the execution time of a method or property. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Provides methods for asserting the execution time of a method or property. - - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Starts monitoring an object for its events. - - Thrown if eventSource is Null. - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the Assembly defines a type called and . - - The namespace of the class. - The name of the class. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Provides methods for asserting that the execution time of an satisfies certain conditions. - - - - - Initializes a new instance of the class. - - The action of which the execution time must be asserted. - - - - Asserts that the execution time of the operation does not exceed a specified amount of time. - - - The maximum allowed duration. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Provides methods for asserting that the execution time of an object member satisfies certain conditions. - - - - - - Initializes a new instance of the class. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the attribute. - - The expected attribute - - - - Asserts that the current equals the attribute. - - The expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The full name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the - element, by using - - - The expected element - - - - Asserts that the current equals the - element, by using - - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.dll deleted file mode 100644 index f3877a4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.pdb deleted file mode 100644 index 45adc46..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.xml deleted file mode 100644 index 176528e..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wp8/FluentAssertions.xml +++ /dev/null @@ -1,1283 +0,0 @@ - - - - FluentAssertions - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised a particular event at least once. - - The object exposing the event. - The name of the event that should have been raised. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised a particular event at least once. - - The object exposing the event. - - The name of the event that should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised a particular event. - - The object exposing the event. - - The name of the event that should not be raised. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised a particular event. - - The object exposing the event. - - The name of the event that should not be raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Represents the default exception in case no test framework is configured. - - - - - Throws a generic exception in case no other test harness is detected. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Represents an abstraction of a particular test framework such as MSTest, nUnit, etc. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Starts monitoring an object for its events. - - Thrown if eventSource is Null. - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Static methods that aid in generic event subscription - - - - - Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder - when invoked. - - - - - Finds the Return Type of a Delegate. - - - - - Returns an Array of Types that make up a delegate's parameter signature. - - - - - Returns an array of types appended with an EventRecorder reference at the beginning. - - - - - Returns T/F Dependent on a Type Being a Delegate. - - - - - Returns the MethodInfo for the Delegate's "Invoke" Method. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the Assembly defines a type called and . - - The namespace of the class. - The name of the class. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the attribute. - - The expected attribute - - - - Asserts that the current equals the attribute. - - The expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The full name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the - element, by using - - - The expected element - - - - Asserts that the current equals the - element, by using - - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.dll deleted file mode 100644 index 9f3b79b..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.pdb deleted file mode 100644 index e6527a9..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.pri b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.pri deleted file mode 100644 index 337cca0..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.pri and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.xml deleted file mode 100644 index e561745..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/wpa81/FluentAssertions.xml +++ /dev/null @@ -1,1240 +0,0 @@ - - - - FluentAssertions - - - - - Represents the default exception in case no test framework is configured. - - - - - Throws a generic exception in case no other test harness is detected. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Represents an abstraction of a particular test framework such as MSTest, nUnit, etc. - - - - - Gets a value indicating whether the corresponding test framework is currently available. - - - - - Throws a framework-specific exception to indicate a failing unit test. - - - - - Simulates the AppDomain class that is not available in Windows Store apps. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws the exact exception (and not a derived exception type). - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the throws an exception. - - A reference to the method or property. - - The type of the exception it should throw. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - Returns an object that allows asserting additional members of the thrown exception. - - - - - Asserts that the does not throw a particular exception. - - The current method or property. - - The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the does not throw any exception at all. - - The current method or property. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Provides methods for asserting the execution time of a method or property. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Provides methods for asserting the execution time of a method or property. - - A reference to the method or property to measure the execution time of. - - Returns an object for asserting that the execution time matches certain conditions. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that all elements in a collection of objects are equivalent to a given object. - - - Objects within the collection are equivalent to given object when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection of objects is equivalent to another collection of objects. - - - Objects within the collections are equivalent when both object graphs have equally named properties with the same - value, irrespective of the type of those objects. Two properties are also equal if one type can be converted to another - and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the global defaults managed by . - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. The global defaults are determined by the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Starts monitoring an object for its events. - - Thrown if eventSource is Null. - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the Assembly defines a type called and . - - The namespace of the class. - The name of the class. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Provides methods for asserting that the execution time of an satisfies certain conditions. - - - - - Initializes a new instance of the class. - - The action of which the execution time must be asserted. - - - - Asserts that the execution time of the operation does not exceed a specified amount of time. - - - The maximum allowed duration. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Provides methods for asserting that the execution time of an object member satisfies certain conditions. - - - - - - Initializes a new instance of the class. - - The object that exposes the method or property. - A reference to the method or property to measure the execution time of. - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the attribute. - - The expected attribute - - - - Asserts that the current equals the attribute. - - The expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - - - Asserts that the current does not equal the attribute, - using its implementation. - - The unexpected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - - - Asserts that the current equals the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - - - Asserts that the current does not equal the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - - - Asserts that the current is equivalent to the document, - using its implementation. - - The expected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - - - Asserts that the current is not equivalent to the document, - using its implementation. - - The unexpected document - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - - - Asserts that the current has a root element with the specified - name. - - The name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a root element with the specified - name. - - The full name of the expected root element of the current document. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element of the current has a direct - child element with the specified name. - - - The full name of the expected child element of the current document's Root element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current equals the - element, by using - - - The expected element - - - - Asserts that the current equals the - element, by using - - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - - - Asserts that the current does not equal the - element, using - . - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - - - Asserts that the current is equivalent to the - element, using a semantic equivalency - comparison. - - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - - - Asserts that the current is not equivalent to - the element, using a semantic - equivalency comparison. - - The unexpected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the specified value. - - The expected value - - - - Asserts that the current has the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has an attribute with the specified - and . - - The name of the expected attribute - The value of the expected attribute - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has a direct child element with the specified - name. - - The name of the expected child element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/xamarin.ios/FluentAssertions.Core.dll b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/xamarin.ios/FluentAssertions.Core.dll deleted file mode 100644 index ecd13f4..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/xamarin.ios/FluentAssertions.Core.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/xamarin.ios/FluentAssertions.Core.pdb b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/xamarin.ios/FluentAssertions.Core.pdb deleted file mode 100644 index cc09eea..0000000 Binary files a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/xamarin.ios/FluentAssertions.Core.pdb and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/xamarin.ios/FluentAssertions.Core.xml b/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/xamarin.ios/FluentAssertions.Core.xml deleted file mode 100644 index b7c2ecc..0000000 --- a/c-sharp-rest/PetClinic/packages/FluentAssertions.4.5.0/lib/xamarin.ios/FluentAssertions.Core.xml +++ /dev/null @@ -1,7240 +0,0 @@ - - - - FluentAssertions.Core - - - - - Initializes a new instance of the class. - - - - - Constraint which can be returned from an assertion which matches a condition and which will allow - further matches to be performed on the matched condition as well as the parent constraint. - - The type of the original constraint that was matched - The type of the matched object which the parent constraint matched - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - - - Returns the single result of a prior assertion that is used to select a nested or collection item. - - - Just a convenience property that returns the same value as . - - - - - Holds any global options that control the behavior of FluentAssertions. - - - - - Defines a predicate with which the determines if it should process - an object's properties or not. - - - Returns true if the object should be treated as a value type and its - must be used during a structural equivalency check. - - - - - Allows configuring the defaults used during a structural equivalency assertion. - - - An action that is used to configure the defaults. - - - - - Represents a mutable collection of steps that are executed while asserting a (collection of) object(s) - is structurally equivalent to another (collection of) object(s). - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the collection does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is null or does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not null and contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any duplicate items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not contain any null items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the elements that are not expected. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection not to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the unexpected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection only contains items that are assignable to the type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order, not necessarily consecutive. - - - Elements are compared using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to have all elements in the specified . - Elements are compared using their implementation. - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in descending order. Elements are compared - using their implementation. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current collection does not have all elements in ascending order. Elements are compared - using their implementation. - - - - - Asserts that the collection is a subset of the . - - An with the expected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection is not a subset of the . - - An with the unexpected superset. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Assert that the current collection has the same number of elements as . - - The other collection with the same expected number of elements - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection has the supplied at the - supplied . - - The index where the element is expected - The expected element - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection does not contain the supplied item. - - The element that is not expected to be in the collection - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection shares one or more items with the specified . - - The with the expected shared items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection does not share any items with the specified . - - The to compare to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection starts with the specified . - - - The element that is expected to appear at the start of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection ends with the specified . - - - The element that is expected to appear at the end of the collection. The object's - is used to compare the element. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly precedes the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the element directly succeeds the . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a collection is ordered in ascending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a collection is ordered in descending order according to the value of the the specified - . - - - A lambda expression that references the property that should be used to determine the expected ordering. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the dictionary matches the supplied amount. - - The expected number of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the dictionary matches a condition stated by a predicate. - - The predicate which must be satisfied by the amount of items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary does not contain any items. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains at least 1 item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The expected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts the current dictionary not to contain all the same key-value pairs as the - specified dictionary. Keys and values are compared using - their implementation. - - The unexpected dictionary - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified key. Keys are compared using - their implementation. - - The expected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - - - Asserts that the dictionary contains all of the specified keys. Keys are compared using - their implementation. - - The expected keys - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified key. - Keys are compared using their implementation. - - The unexpected key - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains the specified value. Values are compared using - their implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - - - Asserts that the dictionary contains all of the specified values. Values are compared using - their implementation. - - The expected values - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns an enumerable consisting of all items in the first collection also appearing in the second. - - Enumerable.Intersect is not suitable because it drops any repeated elements. - - - - Asserts that the current dictionary does not contain the specified value. - Values are compared using their implementation. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected key/value pairs. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified . - Keys and values are compared using their implementation. - - The expected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected key/value pairs - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified . - Keys and values are compared using their implementation. - - The unexpected - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current dictionary does not contain the specified for the - supplied . Values are compared using their implementation. - - The key for which to validate the value - The value to validate - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection contains the specified object. Elements are compared - using their implementation. - - An object, or of objects that are expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expectation state. - - - - - Asserts that the number of items in the collection matches the supplied amount. - - The expected number of items in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the number of items in the collection matches a condition stated by the . - - A predicate that yields the number of items that is expected to be in the collection. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their method. - - A params array with the expected elements. - - - - Asserts that two collections contain the same items in the same order, where equality is determined using a - . - - - The collection to compare the subject with. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection starts with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using their . - - - A collection of expected elements. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current collection ends with same elements in the same order as the collection identified by - . Elements are compared using . - - - A collection of expected elements. - - - A equality comparison the is used to determine whether two objects should be treated as equal. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the collection contains the specified item. - - The expectation item. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection contains some extra items in addition to the original items. - - An of expectation items. - Additional items that are expectation to be contained by the collection. - - - - Asserts that the collection contains at least one item that matches the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection only contains items that match a predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the collection does not contain any items that match the predicate. - - A predicate to match the items in the collection against. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Expects the current collection to contain only a single item. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain only a single item matching the specified . - - The predicate that will be used to find the matching items. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all the same elements in the same order as the collection identified by - . Elements are compared using their . - - An with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - A params array with the expected elements. - - - - Expects the current collection to contain all elements of the collection identified by , - regardless of the order. Elements are compared using their . - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in the exact same order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - - - Expects the current collection to contain the specified elements in any order. Elements are compared - using their implementation. - - An with the expected elements. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Gets the value of the object referred to by the key. - - - - - Searches for the first different element in two sequences using specified - - The type of the elements of the sequence. - The type of the elements of the sequence. - The first sequence to compare. - The second sequence to compare. - Method that is used to compare 2 elements with the same index. - Index at which two sequences have elements that are not equal, or -1 if enumerables are equal - - - - Gets the active configuration, - - - - - Gets or sets the mode on how Fluent Assertions will find custom implementations of - . - - - - - Gets or sets the assembly name to scan for custom value formatters in case - is set to . - - - - - Converts an existing to a but normalizes the - so that comparisons of converted instances retain the UTC/local agnostic behavior. - - - - - Gets a dotted path of property names representing the property expression. E.g. Parent.Child.Sibling.Name. - - - - - Defines the contract the platform-specific assembly must implement to be able to get a chance to initialize itself. - - - - - Facade to resolve an implementation of a particular interface using a platform-specific assembly. - - - - - An implementation of that probes for platforms-specific adapters by dynamically - looking for concrete types in platform-specific assemblies. - - - - - Maintains the framework-specific services. - - - - - Finds the first index at which the does not match the - string anymore, including the exact casing. - - - - - Finds the first index at which the does not match the - string anymore, accounting for the specified . - - - - - Gets the quoted three characters at the specified index of a string, including the index itself. - - - - - Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts. - - - - - Joins a string with one or more other strings using a specified separator. - - - Any string that is empty (including the original string) is ignored. - - - - - Changes the first character of a string to uppercase. - - - - - Determines whether the specified method has been annotated with a specific attribute. - - - true if the specified method has attribute; otherwise, false. - - - - - Determines whether two objects refer to the same member. - - - - - NOTE: This method does not give the expected results with open generics - - - - - Finds a member by its case-sensitive name. - - - Returns null if no such member exists. - - - - - Finds the property by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Finds the field by a case-sensitive name. - - - Returns null if no such property exists. - - - - - Defines the modes in which custom implementations of are detected as configured - through . - - - - - Detection is disabled. - - - - - Only custom value formatters exposed through the assembly set in - are detected. - - - - - All custom value formatters in any assembly loaded in the current will be detected. - - - - - Represents a mutable collection of equivalency steps that can be reordered and/or amended with additional - custom equivalency steps. - - - - - Adds a new after any of the built-in steps, with the exception of the final - . - - - - - Adds a new right after the specified . - - - - - Inserts a new before any of the built-in steps. - - - - - Inserts a new just before the . - - - - - Removes all instances of the specified from the current step. - - - - - Removes each and every built-in . - - - - - Represents a collection of assertion results obtained through a . - - - - - Adds the failures (if any) resulting from executing an assertion within a - identified by a key. - - - - - Returns the closest match compared to the set identified by the provided or - an empty array if one of the results represents a successful assertion. - - - The closest match is the set that contains the least amount of failures, or no failures at all, and preferably - the set that is identified by the . - - - - - Gets a value indicating whether this collection contains a set without any failures at all. - - - - - General purpose implementation of that uses a predicate to determine whether - this rule applies to a particular property and executes an action to assert equality. - - The type of the subject. - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Provides details about the subject's property. - - - The value of the subject's property. - - - The value of a property on expectation object that was identified - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Adaptor allowing an IAssertionRule to be used where a IEquivalencyStep is required. - - - - - Indication of how cyclic references should be handled when validating equality of nested properties. - - - - - Cyclic references will be ignored. - - - - - Cyclic references will result in an exception. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Executes a single equivalency assertion on two collections, optionally recursive and with or without strict ordering. - - - - - Represents the run-time type-specific behavior of a structural equivalency assertion. - - - - - Excludes the specified (nested) member from the structural equality check. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Includes the specified member in the equality check. - - - This overrides the default behavior of including all declared members. - - - - - Causes the collection identified by to be compared in the order - in which the items appear in the expectation. - - - - - Creates a new set of options based on the current instance which acts on a - - - - - - Represents the run-time type-agnostic behavior of a structural equivalency assertion. - - - - - Returns either the run-time or compile-time type of the subject based on the options provided by the caller. - - - - - Gets the value of the - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Is responsible for validating the equality of one or more properties of a subject with another object. - - - - - Provides an ISelectedMemberInfo for FieldInfo objects - - - - - I think (but did not try) this would have been easier using 'dynamic' but that is - precluded by some of the PCL targets. - - - - - Gets a value indicating whether this step can handle the verificationScope subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides the required information for executing an equality assertion between a subject and an expectation. - - The type of the subject. - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the value of the - - - - - Gets the value of the expectation object that was matched with the subject using a . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Defines how a subject's property is compared for equality with the same property of the expectation. - - - Returns true if the rule was applied correctly and the assertion didn't cause any exceptions. - Returns false if this rule doesn't support the subject's type. - Throws if the rule did support the data type but assertion fails. - - - - - Provides the run-time details of the class. - - - - - Gets an ordered collection of selection rules that define what properties are included. - - - - - Gets an ordered collection of matching rules that determine which subject properties are matched with which - expectation properties. - - - - - Gets a value indicating whether or not the assertion must perform a deep comparison. - - - - - Gets a value indicating whether recursion is allowed to continue indefinitely. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating how the enums should be compared. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets a value indicating whether the runtime type should be used rather than the declared type. - - - - - Gets a value indicating whether properties should be considered. - - - - - Gets a value indicating whether fields should be considered. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Defines a step in the process of comparing two object graphs for structural equivalency. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Provides information on a particular property during an assertion for structural equality of two object graphs. - - - - - Gets the value of the . - - - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - - - Zero or more objects to format using the placeholders in . - - - - - Gets a value indicating whether the current context represents the root of the object graph. - - - - - Gets the value of the - - - - - Gets or sets a value indicating that the root of the graph is a collection so all type-specific options apply on - the collection type and not on the root itself. - - - - - Represents a rule that defines how to map the members from the subject-under-test with the members - on the expectation object. - - - - - Attempts to find a member on the expectation that should be compared with the - during a structural equality. - - - Whether or not a match is required or optional is up to the specific rule. If no match is found and this is not an issue, - simply return null. - - - The of the subject's member for which a match must be found. Can never - be null. - - - The expectation object for which a matching member must be returned. Can never be null. - - - The dotted path from the root object to the current member. Will never be null. - - - - Returns the of the property with which to compare the subject with, or null - if no match was found. - - - - - Represents a rule that defines which members of the subject-under-test to include while comparing - two objects for structural equality. - - - - - Gets a value indicating whether this rule should override the default selection rules that include all members. - - - - - Adds or removes properties to/from the collection of subject members that must be included while - comparing two objects for structural equality. - - - A collection of members that was prepopulated by other selection rules. Can be empty. - - - - Type info about the subject. - - - The collection of members after applying this rule. Can contain less or more than was passed in. - - - - - Defines a rule that is used to determine whether the order of items in collections is relevant or not. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides details about the subject's root or nested member. - - - - - Gets the of the member that returned the current object, or null if the current - object represents the root object. - - - - - Gets the full path from the root object until the current object separated by dots. - - - - - Gets a display-friendly representation of the . - - - - - Gets the compile-time type of the current object. If the current object is not the root object and the type is not , - then it returns the same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Requires the expectation object to have a member with the exact same name. - - - - 2 - - - - Finds a member of the expectation with the exact same name, but doesn't require it. - - - - 2 - - - - A partial ISelectedMemberInfo implementation that delegates to a MemberInfo object - - - - - Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items - themselves. - - - - - Represents an object tracked by the including it's location within an object graph. - - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . 2 - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - 2 - - - - Keeps track of objects and their location within an object graph so that cyclic references can be detected - and handled upon. - - - - - Determines whether the specified object reference is a cyclic reference to the same object earlier in the - equivalency validation. - - - The behavior of a cyclic reference is determined by the constructor - parameter. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Collection of s. - - - - - Initializes a new collection of ordering rules. - - - - - Initializes a new collection of ordering rules based on an existing collection of ordering rules. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Determines whether the rules in this collection dictate strict ordering during the equivalency assertion on - the collection pointed to by . - - - - - Ordering rule that ensures that byte arrays are always compared in strict ordering since it would cause a - severe performance impact otherwise. - - - - - An ordering rule that basically states that the order of items in all collections is important. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Represents a rule for determining whether or not a certain collection within the object graph should be compared using - strict ordering. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Determines if ordering of the member referred to by the current is relevant. - - - - - Provides an ISelectedMemberInfo for PropertyInfo objects - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Represents a composite equivalency step that passes the execution to all user-supplied steps that can handle the - current context. - - - - - Exposes information about an object's member - - - - - Gets the name of the current member. - - - - - Gets the type of this member. - - - - - Gets the class that declares this member. - - - - - Returns the member value of a specified object with optional index values for indexed properties or methods. - - - - - Selection rule that adds all public fields of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that adds all public properties of the subject. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Selection rule that removes a particular property from the structural comparison. - - - - - Selection rule that removes a particular member from the structural comparison based on a predicate. - - - - 2 - - - - Selection rule that includes a particular property in the structural comparison. - - - - - Selection rule that includes a particular member in the structural comparison. - - - - 2 - - - - Encapsulates a dotted path to a (nested) member of a type. - - - - - Represents a selection context of a nested property - - - - - Gets the compile-time type of the current object. If the current object is not the root object, then it returns the - same as the property does. - - - - - Gets the run-time type of the current object. - - - - - Represents the run-time behavior of a structural equivalency assertion. - - - - - Creates an instance of the equivalency assertions options based on defaults previously configured by the caller. - - - - - Gets an ordered collection of selection rules that define what members are included. - - - - - Gets an ordered collection of matching rules that determine which subject members are matched with which - expectation members. - - - - - Gets an ordered collection of Equivalency steps how a subject is compared with the expectation. - - - - - Gets an ordered collection of rules that determine whether or not the order of collections is important. By default, - ordering is irrelevant. - - - - - Gets value indicating whether the equality check will include nested collections and complex types. - - - - - Gets value indicating how cyclic references should be handled. By default, it will throw an exception. - - - - - Gets a value indicating whether the should be treated as having value semantics. - - - - - Causes inclusion of only public properties of the subject as far as they are defined on the declared type. - - - This clears all previously registered selection rules. - - - - - Causes inclusion of only public properties of the subject based on its run-time type rather than its declared type. - - - This clears all previously registered selection rules. - - - - - Instructs the comparison to include fields. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude fields. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to include properties. - - - This is part of the default behavior. - - - - - Instructs the comparison to exclude properties. - - - This does not preclude use of `Including`. - - - - - Instructs the comparison to respect the subject's runtime type. - - - - - Instructs the comparison to respect the subject's declared type. - - - - - Excludes a (nested) property based on a predicate from the structural equality check. - - - - - Tries to match the members of the subject with equally named members on the expectation. Ignores those - members that don't exist on the expectation and previously registered matching rules. - - - - - Requires the expectation to have members which are equally named to members on the subject. - - - - - - The assertion to execute when the predicate is met. - - - - - Causes the structural equality check to include nested collections and complex types. - - - - - Causes the structural equality check to exclude nested collections and complex types. - - - Behaves similarly to the old property assertions API. - - - - - Causes the structural equality check to ignore any cyclic references. - - - By default, cyclic references within the object graph will cause an exception to be thrown. - - - - - Disables limitations on recursion depth when the structural equality check is configured to include nested objects - - - - - Clears all selection rules, including those that were added by default. - - - - - Clears all matching rules, including those that were added by default. - - - - - Adds a selection rule to the ones already added by default, and which is evaluated after all existing rules. - - - - - Adds a matching rule to the ones already added by default, and which is evaluated before all existing rules. - - - - - Adds an assertion rule to the ones already added by default, and which is evaluated before all existing rules. - NOTE: These assertion rules do not apply to the root object. - - - - - Adds an equivalency step rule to the ones already added by default, and which is evaluated before previous user-registered steps - - - - - Causes all collections to be compared in the order in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes the collection identified by the provided to be compared in the order - in which the items appear in the expectation. - - - - - Causes to compare Enum properties using the result of their ToString method. - - - By default, enums are compared by value. - - - - - Causes to compare Enum members using their underlying value only. - - - This is the default. - - - - - Marks the as a value type which must be compared using its - method. - - - - - Returns a string that represents the current object. - - - A string that represents the current object. - - 2 - - - - Defines additional overrides when used with - - - - - Allows overriding the way structural equality is applied to (nested) objects of type - - - - - Allows overriding the way structural equality is applied to particular members. - - - A predicate based on the of the subject that is used to identify the property for which the - override applies. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - Ensures that types that are marked as value types are treated as such. - - - - - Gets a value indicating whether this step can handle the current subject and/or expectation. - - - - - Applies a step as part of the task to compare two objects for structural equality. - - - Should return true if the subject matches the expectation or if no additional assertions - have to be executed. Should return false otherwise. - - - May throw when preconditions are not met or if it detects mismatching data. - - - - - - - - - - Obtains the for a particular event of the . - - The object for which to get an event recorder. - The name of the event. - - - - - Records activity for a single event. - - - - - - The object events are recorded from - The name of the event that's recorded - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - Enumerate raised events - - - - - Enumerate raised events - - - - - - Called by the auto-generated IL, to record information about a raised event. - - - - - Simple dictionary that uses a to the event source as the key. - This should ensure the Garbage Collector can still clean-up the event source object. - - - - - Records raised events for one event on one object - - - - - Store information about a raised event - - Parameters the event was raised with - - - - The object events are recorded from - - - - - The name of the event that's recorded - - - - - This class is used to store data about an intercepted event - - - - - Default constructor stores the parameters the event was raised with - - - - - Parameters for the event - - - - - Represents an implicit or explicit scope within which multiple assertions can be collected. - - - - - Starts an unnamed scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Starts a named scope within which multiple assertions can be executed and which will not throw until the scope is disposed. - - - - - Creates a nested scope used during chaining. - - - - - Gets the current thread-specific assertion scope. - - - - - Indicates that every argument passed into is displayed on a separate line. - - - - - Gets a value indicating whether or not the last assertion executed through this scope succeeded. - - - - - Specify the reason why you expect the condition to be true. - - - A formatted phrase explaining why the condition should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Sets the expectation part of the failure message when the assertion is not met. - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Allows to safely select the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - - - Specify the condition that must be satisfied. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Discards and returns the failures that happened up to now. - - - - - Gets data associated with the current scope and identified by . - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Represents a collection of data items that are associated with an . - - - - - Enables chaining multiple assertions on an . - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Enables chaining multiple assertions from a call. - - - - - Continuous the assertion chain if the previous assertion was successful. - - - - - Provides back-wards compatibility for code that expects to return a boolean. - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure. - - - - - Gets an object that wraps and executes a conditional or unconditional assertion. - - - - - Represents a chaining object returned from to continue the assertion using - an object returned by a selector. - - - - - Specify the condition that must be satisfied upon the subject selected through a prior selector. - - - If true the assertion will be treated as successful and no exceptions will be thrown. - - - The condition will not be evaluated if the prior assertion failed, nor will - throw any exceptions. - - - - - Allows to safely refine the subject for successive assertions, even when the prior assertion has failed. - - - Selector which result is passed to successive calls to . - - - The selector will not be invoked if the prior assertion failed, nor will - throw any exceptions. - - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Sets the failure message when the assertion is not met, or completes the failure message set to a - prior call to to . - - - In addition to the numbered -style placeholders, messages may contain a few - specialized placeholders as well. For instance, {reason} will be replaced with the reason of the assertion as passed - to . Other named placeholders will be replaced with the scope data - passed through and . Finally, a description of the - current subject can be passed through the {context:description} placeholder. This is used in the message if no - explicit context is specified through the constructor. - Note that only 10 are supported in combination with a {reason}. - If an expectation was set through a prior call to , then the failure message is appended to that - expectation. - - The format string that represents the failure message. - Optional arguments to any numbered placeholders. - - - - Defines a strategy for handling failures in a . - - - - - Returns the messages for the assertion failures that happened until now. - - - - - Instructs the strategy to handle a assertion failure. - - - - - Discards and returns the failure messages that happened up to now. - - - - - Will throw a combined exception for any failures have been collected since was called. - - - - - Custom version of ICloneable that works on all frameworks. - - - - - Creates a new object that is a copy of the current instance. - - - - A new object that is a copy of this instance. - - - - - Encapsulates expanding the various placeholders supported in a failure message. - - - - - Represents the phrase that can be used in as a placeholder for the reason of an assertion. - - - - - Determines whether data associated with an should be included in the assertion failure. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- new DateTime(2011, 3, 10)
-
- you can write 3.March(2011)
-
- Or even
-
- 3.March(2011).At(09, 30) -
- -
- - - Returns a new value for the specified and - in the month January. - - - - - Returns a new value for the specified and - in the month February. - - - - - Returns a new value for the specified and - in the month March. - - - - - Returns a new value for the specified and - in the month April. - - - - - Returns a new value for the specified and - in the month May. - - - - - Returns a new value for the specified and - in the month June. - - - - - Returns a new value for the specified and - in the month July. - - - - - Returns a new value for the specified and - in the month August. - - - - - Returns a new value for the specified and - in the month September. - - - - - Returns a new value for the specified and - in the month October. - - - - - Returns a new value for the specified and - in the month November. - - - - - Returns a new value for the specified and - in the month December. - - - - - Returns a new value for the specified and . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value for the specified and time with the specified - , and optionally . - - - - - Returns a new value that is the current before the - specified . - - - - - Returns a new value that is the current after the - specified . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Specialized value formatter that looks for static methods in the caller's assembly marked with the - . - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Determines whether this instance can handle the specified value. - - The value. - - true if this instance can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Provides services for formatting an object being used in an assertion in a human readable format. - - - - - A list of objects responsible for formatting the objects represented by placeholders. - - - - - Returns a human-readable representation of a particular object. - - The value for which to create a . - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - Indicates whether the formatter should use line breaks when the specific supports it. - - - A that represents this instance. - - - - - Removes a custom formatter that was previously added though . - - - - - Ensures a custom formatter is included in the chain, just before the default formatter is executed. - - - - - Allows a platform-specific assembly to add formatters without affecting the ones added by callers of . - - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Indicates whether the current can handle the specified . - - The value for which to create a . - - true if the current can handle the specified value; otherwise, false. - - - - - Returns a that represents this instance. - - The value for which to create a . - - - A collection of objects that - - - The level of nesting for the supplied value. This is used for indenting the format string for objects that have - no override. - - - A that represents this instance. - - - - - Marks a static method as a kind of for a particular type. - - - - - Contains extension methods for custom assertions in unit tests. - - - - - Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow - overloads. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Forces enumerating a collection. Should be used to assert that a method that uses the - yield keyword throws a particular exception. - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current . - - - - - Returns an object that can be used to assert the - current nullable . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the - current . - - - - - Returns a object that can be used to assert the current . - - - - - - Returns a object that can be used to assert the methods returned by the - current . - - - - - - Returns a object that can be used to assert the - current . - - - - - - Returns a object that can be used to assert the properties returned by the - current . - - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - Notice that actual behavior is determined by the instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object is equivalent to another object. - - - Objects are equivalent when both object graphs have equally named properties with the same value, - irrespective of the type of those objects. Two properties are also equal if one type can be converted to another and the result is equal. - The type of a collection property is ignored as long as the collection implements and all - items in the collection are structurally equal. - - - A reference to the configuration object that can be used - to influence the way the object graphs are compared. You can also provide an alternative instance of the - class. - - - An optional formatted phrase as is supported by explaining why the - assertion is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Safely casts the specified object to the type specified through . - - - Has been introduced to allow casting objects without breaking the fluent API. - - - - - - Contains a number of extension methods for floating point . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a floating point value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a double value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts a decimal value approximates another value as close as possible. - - The object that is being extended. - - The expected value to compare the actual value with. - - - The maximum amount of which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the subject is considered equal to another object according to the implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is not equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is less than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the subject is greater than or equal to another object according to its implementation of . - - - The object to pass to the subject's method. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that a nullable numeric value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable numeric value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is exactly the same as the value. - - The expected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the integral number value is not the same as the value. - - The unexpected value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is less than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the numeric value is greater than or equal to the specified value. - - The value to compare the current numeric value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is within a range. - - - Where the range is continuous or incremental depends on the actual type of the value. - - - The minimum valid value of the range. - - - The maximum valid value of the range. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - - - Asserts that a value is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the value is false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current or is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Asserts that the current has the date. - - The expected date portion of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is exactly equal to the value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is not equal to the value. - - The unexpected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is before the specified value. - - The that the current value is expected to be before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or before the specified value. - - The that the current value is expected to be on or before. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is after the specified value. - - The that the current value is expected to be after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is either on, or after the specified value. - - The that the current value is expected to be on or after. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the year. - - The expected year of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the month. - - The expected month of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the day. - - The expected day of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the hour. - - The expected hour of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the minute. - - The expected minutes of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current has the second. - - The expected seconds of the current value. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns a object that can be used to assert that the current - exceeds the specified compared to another . - - - The amount of time that the current should exceed compared to another . - - - - - Returns a object that can be used to assert that the current - is equal to or exceeds the specified compared to another . - - - The amount of time that the current should be equal or exceed compared to - another . - - - - - Returns a object that can be used to assert that the current - differs exactly the specified compared to another . - - - The amount of time that the current should differ exactly compared to another . - - - - - Returns a object that can be used to assert that the current - is within the specified compared to another . - - - The amount of time that the current should be within another . - - - - - Returns a object that can be used to assert that the current - differs at maximum the specified compared to another . - - - The maximum amount of time that the current should differ compared to another . - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that two objects differ in the expected way. - - - You can use the and for a more fluent - way of specifying a or a . - - - - - Asserts that a occurs a specified amount of time before another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a occurs a specified amount of time after another . - - - The to compare the subject with. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Contains a number of methods to assert that a is in the correct state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is equal to the GUID. - - The expected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is not equal to the GUID. - - The unexpected value to compare the actual value with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable boolean value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable boolean value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not false. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is not true. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable or is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - You can use the for a more fluent way of specifying a . - - - - - Asserts that a nullable value is not null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a nullable value is null. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the value is equal to the specified value. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the expected state. - - - - - Asserts that an object equals another object using its implementation. - - The expected value - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object does not equal another object using its method. - - The unexpected value - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and has a specified flag - - The expected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object is an enum and does not have a specified flag - - The unexpected flag. - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a reference type object is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current object has not been initialized yet. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current object has been initialized. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that an object reference refers to the exact same object as another object reference. - - The expected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that an object reference refers to a different object than another object reference refers to. - - The unexpected object - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that the object is of the specified type . - - The expected type of the object. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is of the specified type . - - - The type that the subject is supposed to be of. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the object is assignable to a variable of type . - - The type to which the object should be assignable. - The reason why the object should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Asserts that the is satisfied. - - The predicate which must be satisfied by the . - The reason why the predicate should be satisfied. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a nullable is in the expected state. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the time difference of the current is greater than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than zero. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is equal to the - specified time. - - The expected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is not equal to the - specified time. - - The unexpected time difference - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is less than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the time difference of the current is greater than or equal to the - specified time. - - The time difference to which the current value will be compared - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is within the specified number of milliseconds (default = 20 ms) - from the specified value. - - - Use this assertion when, for example the database truncates datetimes to nearest 20ms. If you want to assert to the exact datetime, - use . - - - The expected time to compare the actual value with. - - - The maximum amount of milliseconds which the two values may differ. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - - - - Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace. - - The expected string. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - - - Asserts that the is one of the specified . - - - The values that are valid. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with - the exception of the casing. - - - The string that the subject is expected to be equivalent to. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not exactly the same as the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to be equivalent to. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a wildcard pattern. - - - The wildcard pattern with which the subject is matched, where * and ? have special meanings. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string matches a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not match a regular expression. - - - The regular expression with which the subject is matched. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts exactly with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string starts with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not start with the specified value, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to start with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end exactly with the specified , - including the casing and any leading or trailing whitespace. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string ends with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not end with the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to end with. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains another (fragment of a) string. - - - The (fragment of a) string that the current string should contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string contains the specified , - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain another (fragment of a) string. - - - The (fragment of a) string that the current string should not contain. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string does not contain the specified string, - including any leading or trailing whitespace, with the exception of the casing. - - The string that the subject is not expected to contain. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is not . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string has the specified length. - - The expected length of the string - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that a string is neither null nor . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or . - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is neither null nor nor white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Asserts that a string is either null or or white space - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Returns the type of the subject the assertion applies on. - - - - - Dedicated class for comparing two strings and generating consistent error messages. - - - - - Gets or sets a value indicating whether the subject should not match the pattern. - - - - - Gets or sets a value indicating whether the matching process should ignore any casing difference. - - - - - Ignores the difference between environment newline differences - - - - - Provides the logic and the display text for a . - - - - - Provides extension methods for monitoring and querying events. - - - - - Asserts that an object has raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised, or - null to refer to all properties. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that an object has not raised the event for a particular property. - - The object exposing the event. - - A lambda expression referring to the property for which the property changed event should have been raised. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - You must call on the same object prior to this call so that Fluent Assertions can - subscribe for the events of the object. - - - - - Asserts that all occurrences of the event originated from the . - - - - - Asserts that at least one occurrence of the event had an object matching a predicate. - - - - - Contains a number of methods to assert that an yields the expected result. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that an asynchronous method yields the expected result. - - - - - Gets the that is being asserted. - - - - - Asserts that the current throws an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw any exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current does not throw an exception of type . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that an is in the correct state. - - - - - Gets the exception object of the exception thrown. - - - - - Gets the exception object of the exception thrown. - - - - - Returns the type of the subject the assertion applies on. - - - - - Asserts that the thrown exception has a message that matches - depending on the specified matching mode. - - - The expected message of the exception. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - - - - Asserts that the thrown exception contains an inner exception of type . - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). - - The expected type of the inner exception. - The reason why the inner exception should be of the supplied type. - The parameters used when formatting the . - - - - Asserts that the thrown exception contains an inner exception with the . - - The expected message of the inner exception. - - The reason why the message of the inner exception should match . - - The parameters used when formatting the . - - - - Asserts that the exception matches a particular condition. - - - The condition that the exception must match. - - - A formatted phrase explaining why the assertion should be satisfied. If the phrase does not - start with the word because, it is prepended to the message. - - - Zero or more values to use for filling in any compatible placeholders. - - - - - Extension methods on to allow for a more fluent way of specifying a . - - - Instead of
-
- TimeSpan.FromHours(12)
-
- you can write
-
- 12.Hours()
-
- Or even
-
- 12.Hours().And(30.Minutes()). -
- -
- - - Returns a based on a number of ticks. - - - - - Returns a based on a number of milliseconds. - - - - - Returns a based on a number of seconds. - - - - - Returns a based on a number of seconds, and add the specified - . - - - - - Returns a based on a number of minutes. - - - - - Returns a based on a number of minutes, and add the specified - . - - - - - Returns a based on a number of hours. - - - - - Returns a based on a number of hours, and add the specified - . - - - - - Returns a based on a number of days. - - - - - Returns a based on a number of days, and add the specified - . - - - - - Convenience method for chaining multiple calls to the methods provided by this class. - - - 23.Hours().And(59.Minutes()) - - - - - Extension methods for filtering a collection of types. - - - - - Filters to only include types decorated with a particular attribute. - - - - - Filters to only include types where the namespace of type is exactly . - - - - - Filters to only include types where the namespace of type is starts with . - - - - - Filters to only include types that subclass the specified type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Extension methods for getting method and property selectors for a type. - - - - - Returns the types that are visible outside the specified . - - - - - Returns a method selector for the current . - - - - - Returns a method selector for the current . - - - - - Returns a property selector for the current . - - - - - Returns a property selector for the current . - - - - - Static class that allows for a 'fluent' selection of the types from an . - - - AllTypes.From(myAssembly)
- .ThatImplement<ISomeInterface>
- .Should()
- .BeDecoratedWith<SomeAttribute>() -
-
- - - Returns a for selecting the types that are visible outside the - specified . - - The assembly from which to select the types. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Initializes a new instance of the class. - - The constructorInfo from which to select properties. - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected member is not decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected member has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected method is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected method is async. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected MethodInfo returns void. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected MethodInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Allows for fluent selection of methods of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select methods. - - - - Initializes a new instance of the class. - - The types from which to select methods. - - - - Only select the methods that are public or internal. - - - - - Only select the methods without a return value - - - - - Only select the methods that return the specified type - - - - - Only select the methods that are decorated with an attribute of the specified type. - - - - - The resulting objects. - - - - - Determines whether the specified method has a special name (like properties and events). - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Initializes a new instance of the class. - - The methods to assert. - - - - Gets the object which value is being asserted. - - - - - Asserts that the selected methods are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected methods are decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a is in the expected state. - - - - - Asserts that the selected property is virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a setter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property has a getter with the specified C# access modifier. - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property does not have a getter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected property returns a specified type. - - The expected type of the property. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected PropertyInfo returns . - - The expected return type. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent selection of properties of a type through reflection. - - - - - Initializes a new instance of the class. - - The type from which to select properties. - - - - Initializes a new instance of the class. - - The types from which to select properties. - - - - Only select the properties that have a public or internal getter. - - - - - Only select the properties that are decorated with an attribute of the specified type. - - - - - Only select the properties that return the specified type - - - - - The resulting objects. - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains assertions for the objects returned by the parent . - - - - - Gets the object which value is being asserted. - - - - - Initializes a new instance of the class, for a number of objects. - - The properties to assert. - - - - Asserts that the selected properties are virtual. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties have a setter. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the selected properties are decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Contains a number of methods to assert that a meets certain expectations. - - - - - Initializes a new instance of the class. - - - - - Asserts that the current type is equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is equal to the specified type. - - The expected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts than an instance of the subject type is assignable variable of type . - - The type to which instances of the type should be assignable. - The reason why instances of the type should be assignable to the type. - The parameters used when formatting the . - An which can be used to chain assertions. - - - - Creates an error message in case the specified type differs from the - type. - - - An empty if the two specified types are the same, or an error message that describes that - the two specified types are not the same. - - - - - Asserts that the current type is not equal to the specified type. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current type is not equal to the specified type. - - The unexpected type - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current implements Interface . - - The interface that should be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should be not implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current does not implement Interface . - - The interface that should not be implemented. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current is derived from . - - The Type that should be derived from. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a property of type named . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The type of the property. - The name of the property. - - - - Asserts that the current type has a property of type named . - - The type of the property. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have a property named . - - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a property named - from interface . - - The interface whose member is being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The type of the interface. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a property named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the property. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type explicitly implements a method named - from interface . - - The interface whose member is being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The type of the interface. - The name of the method. - The expected types of the method parameters. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not explicitly implement a method named - from interface . - - The interface whose member is not being explicitly implemented. - The name of the method. - The expected types of the method parameters. - /// A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has an indexer of type . - with parameter types . - - The type of the indexer. - The parameter types for the indexer. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type does not have an indexer that takes parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The expected indexer's parameter types. - - - - Asserts that the current type has a method named with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The name of the method. - The parameter types for the indexer. - - - - Asserts that the current type does not expose a method named - with parameter types . - - The name of the method. - The method parameter types. - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the current type has a constructor with parameter types . - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - The parameter types for the indexer. - - - - Asserts that the current type has a default constructor. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - Zero or more objects to format using the placeholders in . - - - - Asserts that the selected type has the specified C# . - - The expected C# access modifier. - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Returns the type of the subject the assertion applies on. - - - - - Allows for fluent filtering a list of types. - - - - - The resulting objects. - - - - - Determines whether a type is a subclass of another type, but NOT the same type. - - - - - Determines whether a type implements an interface (but is not the interface itself). - - - - - Determines whether a type is decorated with a particular attribute. - - - - - Determines whether the namespace of type is exactly . - - - - - Determines whether the namespace of type is starts with . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - 2 - - - - Contains a number of methods to assert that all s in a - meet certain expectations. - - - - - Initializes a new instance of the class. - - - - - Gets the object which value is being asserted. - - - - - Asserts that the current is decorated with the specified . - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - - - - Asserts that the current is decorated with an attribute of type - that matches the specified . - - - The predicate that the attribute must match. - - - A formatted phrase as is supported by explaining why the assertion - is needed. If the phrase does not start with the word because, it is prepended automatically. - - - Zero or more objects to format using the placeholders in . - - -
-
diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg deleted file mode 100644 index aa8cd68..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll deleted file mode 100644 index 3e05fe3..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.xml b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.xml deleted file mode 100644 index 7e85020..0000000 --- a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.xml +++ /dev/null @@ -1,9676 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value 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 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 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. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - 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 to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - 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 . - - - - - 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 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 . - - - - - 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 a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - 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. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - 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. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - 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. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - 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. - - - - - Provides a set of static (Shared in Visual Basic) methods for - querying objects that implement . - - - - - Returns the input typed as . - - - - - Returns an empty that has the - specified type argument. - - - - - Converts the elements of an to the - specified type. - - - - - Filters the elements of an based on a specified type. - - - - - 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. - - - - Generates a sequence that contains one repeated value. - - - - - Filters a sequence of values based on a predicate. - - - - - Filters a sequence of values based on a predicate. - Each element's index is used in the logic of the predicate function. - - - - - Projects each element of a sequence into a new form. - - - - - Projects each element of a sequence into a new form by - incorporating the element's index. - - - - - Projects each element of a sequence to an - and flattens the resulting sequences into one sequence. - - - - - 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. - - - - - 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. - - - - - 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. - - - - - Returns elements from a sequence as long as a specified condition is true. - - - - - 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. - - - - - Base implementation of First operator. - - - - - Returns the first element of a sequence. - - - - - Returns the first element in a sequence that satisfies a specified condition. - - - - - Returns the first element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the first element of the sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Last operator. - - - - - Returns the last element of a sequence. - - - - - Returns the last element of a sequence that satisfies a - specified condition. - - - - - Returns the last element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the last element of a sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Single operator. - - - - - Returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition, and throws an exception if more than one - such element exists. - - - - - 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. - - - - - 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. - - - - - Returns the element at a specified index in a sequence. - - - - - Returns the element at a specified index in a sequence or a - default value if the index is out of range. - - - - - Inverts the order of the elements in a sequence. - - - - - Returns a specified number of contiguous elements from the start - of a sequence. - - - - - Bypasses a specified number of elements in a sequence and then - returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. - - - - - 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. - - - - - Returns the number of elements in a sequence. - - - - - Returns a number that represents how many elements in the - specified sequence satisfy a condition. - - - - - Returns an that represents the total number - of elements in a sequence. - - - - - Returns an that represents how many elements - in a sequence satisfy a condition. - - - - - Concatenates two sequences. - - - - - Creates a from an . - - - - - Creates an array from an . - - - - - Returns distinct elements from a sequence by using the default - equality comparer to compare values. - - - - - Returns distinct elements from a sequence by using a specified - to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and a key comparer. - - - - - Creates a from an - according to specified key - and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer and an element selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function and compares the keys by using a specified - comparer. - - - - - 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. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. - - - - - 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. - - - - - 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. - - - - - 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. - - - - - 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. - - - - - Applies an accumulator function over a sequence. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value. - - - - - 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. - - - - - Produces the set union of two sequences by using the default - equality comparer. - - - - - Produces the set union of two sequences by using a specified - . - - - - - Returns the elements of the specified sequence or the type - parameter's default value in a singleton collection if the - sequence is empty. - - - - - Returns the elements of the specified sequence or the specified - value in a singleton collection if the sequence is empty. - - - - - Determines whether all elements of a sequence satisfy a condition. - - - - - Determines whether a sequence contains any elements. - - - - - Determines whether any element of a sequence satisfies a - condition. - - - - - Determines whether a sequence contains a specified element by - using the default equality comparer. - - - - - Determines whether a sequence contains a specified element by - using a specified . - - - - - Determines whether two sequences are equal by comparing the - elements by using the default equality comparer for their type. - - - - - Determines whether two sequences are equal by comparing their - elements by using a specified . - - - - - Base implementation for Min/Max operator. - - - - - Base implementation for Min/Max operator for nullable types. - - - - - Returns the minimum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the minimum resulting value. - - - - - Returns the maximum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the maximum resulting value. - - - - - Makes an enumerator seen as enumerable once more. - - - 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. - - - - - Sorts the elements of a sequence in ascending order by using a - specified comparer. - - - - - Sorts the elements of a sequence in descending order according to a key. - - - - - Sorts the elements of a sequence in descending order by using a - specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order by using a specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order, according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order by using a specified comparer. - - - - - Base implementation for Intersect and Except operators. - - - - - Produces the set intersection of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set intersection of two sequences by using the - specified to compare values. - - - - - Produces the set difference of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set difference of two sequences by using the - specified to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and key comparer. - - - - - Creates a from an - according to specified key - selector and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer, and an element selector function. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. - - - - - 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. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. - - - - - 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. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Represents a collection of objects that have a common key. - - - - - Gets the key of the . - - - - - Defines an indexer, size property, and Boolean search method for - data structures that map keys to - sequences of values. - - - - - Represents a sorted sequence. - - - - - Performs a subsequent ordering on the elements of an - according to a key. - - - - - Represents a collection of keys each mapped to one or more values. - - - - - Gets the number of key/value collection pairs in the . - - - - - Gets the collection of values indexed by the specified key. - - - - - Determines whether a specified key is in the . - - - - - Applies a transform function to each key and its associated - values and returns the results. - - - - - Returns a generic enumerator that iterates through the . - - - - - 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. - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - 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. - - - - - 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 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Represents a collection of . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - 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. - - 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 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. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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 exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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 writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - 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. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Specifies the 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 writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - 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. - - - - - 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. - - - - diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll deleted file mode 100644 index f2666d5..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.xml b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.xml deleted file mode 100644 index e5abc9c..0000000 --- a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.xml +++ /dev/null @@ -1,8805 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - 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. - - - - 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. - - - - - 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. - - - - - 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 an Entity Framework EntityKey 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. - - - - - 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 a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - 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. - - - - - 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 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 . - - - - - 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 a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - 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. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - 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. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - 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. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - 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. - - - - - 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 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Represents a collection of . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - 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 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. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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 writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - 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. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Specifies the 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 writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - 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/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll deleted file mode 100644 index e523dc3..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.xml b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.xml deleted file mode 100644 index 0c7c38d..0000000 --- a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.xml +++ /dev/null @@ -1,9112 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - 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. - - - - 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. - - - - - 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. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from 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 a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - 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. - - - - - 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 . - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how dates are formatted when writing JSON text. - - - - - 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 formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - 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 to always serialize the member, and require the member has a value. - - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - 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. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - 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. - - - - - 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 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Represents a collection of . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - 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 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - 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. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - 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. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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 writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - 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. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Specifies the 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 writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - 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/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll deleted file mode 100644 index b7ef414..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.xml b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.xml deleted file mode 100644 index 22ef1cb..0000000 --- a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.xml +++ /dev/null @@ -1,9112 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - 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 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. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - 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 EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - 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 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 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 a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - 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. - - - - - 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 common language runtime 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 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - 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. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - 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. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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 writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object 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. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - 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. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index 9973ce9..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml deleted file mode 100644 index f841a5f..0000000 --- a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml +++ /dev/null @@ -1,8290 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - 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. - - - - - 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). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - 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 . - - - - - 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 a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - 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. - - - - - 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 common language runtime 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 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. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or 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. - - - - - 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 the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - 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 . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a 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. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object 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. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - 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{TSource}. - - 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. - - - - - 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. - - - - diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll deleted file mode 100644 index 1e62440..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.xml b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.xml deleted file mode 100644 index 8d9e91c..0000000 --- a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.xml +++ /dev/null @@ -1,8637 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - 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. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - 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 . - - - - - 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 a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - 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. - - - - - 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 common language runtime 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 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - 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. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - 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. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or 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. - - - - - 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 the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the 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 containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - 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 an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a 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. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - 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. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets 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. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - 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. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object 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. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - 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{TSource}. - - 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. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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. - - - - - 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. - - - - diff --git a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/tools/install.ps1 b/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/tools/install.ps1 deleted file mode 100644 index 209101a..0000000 --- a/c-sharp-rest/PetClinic/packages/Newtonsoft.Json.8.0.3/tools/install.ps1 +++ /dev/null @@ -1,116 +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://www.newtonsoft.com/json/install?version=" + $package.Version - $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 -{ - try - { - $pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager") - - $selection = $pmPane.TextDocument.Selection - $selection.StartOfDocument($false) - $selection.EndOfDocument($true) - - if ($selection.Text.StartsWith("Attempting to gather dependencies information for package 'Newtonsoft.Json." + $package.Version + "'")) - { - # don't show on upgrade - if (!$selection.Text.Contains("Removed package")) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } - catch - { - # stop potential errors from bubbling up - # worst case the splash page won't open - } -} - -# still yolo \ No newline at end of file diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg deleted file mode 100644 index af89bda..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.dll deleted file mode 100644 index 9f15b1b..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml deleted file mode 100644 index be61c15..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml +++ /dev/null @@ -1,3020 +0,0 @@ - - - - RestSharp - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Deserialized entity data - - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.dll deleted file mode 100644 index aff63af..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml deleted file mode 100644 index be61c15..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml +++ /dev/null @@ -1,3020 +0,0 @@ - - - - RestSharp - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Deserialized entity data - - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.dll deleted file mode 100644 index 5c24dc2..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml deleted file mode 100644 index be61c15..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml +++ /dev/null @@ -1,3020 +0,0 @@ - - - - RestSharp - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Deserialized entity data - - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net35/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net35/RestSharp.dll deleted file mode 100644 index 0b0001b..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net35/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml deleted file mode 100644 index 0100e02..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml +++ /dev/null @@ -1,2858 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - HttpWebRequest wrapper (sync methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (async methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.dll deleted file mode 100644 index b48af87..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4/RestSharp.dll deleted file mode 100644 index b48af87..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net45/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net45/RestSharp.dll deleted file mode 100644 index 533b3cc..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net45/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net451/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net451/RestSharp.dll deleted file mode 100644 index d8414d1..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net451/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net452/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net452/RestSharp.dll deleted file mode 100644 index 31e4704..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net452/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net46/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net46/RestSharp.dll deleted file mode 100644 index 8af7bc1..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net46/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/sl5/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/sl5/RestSharp.dll deleted file mode 100644 index 9b07a2d..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/sl5/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml deleted file mode 100644 index ced35dd..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml +++ /dev/null @@ -1,2649 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.dll deleted file mode 100644 index e7289c2..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml deleted file mode 100644 index f851bd3..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml +++ /dev/null @@ -1,3866 +0,0 @@ - - - - RestSharp - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial - used by Zip. This type is used internally by DotNetZip; it is generally not used - directly by applications wishing to create, read, or manipulate zip archive - files. - - - - - Returns the CRC32 for the specified stream. - - The stream over which to calculate the CRC32 - the CRC32 calculation - - - - Returns the CRC32 for the specified stream, and writes the input into the - output stream. - - The stream over which to calculate the CRC32 - The stream into which to deflate the input - the CRC32 calculation - - - - Get the CRC32 for the given (word,byte) combo. This is a computation - defined by PKzip. - - The word to start with. - The byte to combine it with. - The CRC-ized result. - - - - Update the value for the running CRC32 using the given block of bytes. - This is useful when using the CRC32() class in a Stream. - - block of bytes to slurp - starting point in the block - how many bytes within the block to slurp - - - - indicates the total number of bytes read on the CRC stream. - This is used when writing the ZipDirEntry when compressing files. - - - - - Indicates the current CRC for all blocks slurped in. - - - - - A Stream that calculates a CRC32 (a checksum) on all bytes read, - or on all bytes written. - - - - - This class can be used to verify the CRC of a ZipEntry when - reading from a stream, or to calculate a CRC when writing to a - stream. The stream should be used to either read, or write, but - not both. If you intermix reads and writes, the results are not - defined. - - - - This class is intended primarily for use internally by the - DotNetZip library. - - - - - - The default constructor. - - - Instances returned from this constructor will leave the underlying stream - open upon Close(). - - The underlying stream - - - - The constructor allows the caller to specify how to handle the underlying - stream at close. - - The underlying stream - true to leave the underlying stream - open upon close of the CrcCalculatorStream.; false otherwise. - - - - A constructor allowing the specification of the length of the stream to read. - - - Instances returned from this constructor will leave the underlying stream open - upon Close(). - - The underlying stream - The length of the stream to slurp - - - - A constructor allowing the specification of the length of the stream to - read, as well as whether to keep the underlying stream open upon Close(). - - The underlying stream - The length of the stream to slurp - true to leave the underlying stream - open upon close of the CrcCalculatorStream.; false otherwise. - - - - Read from the stream - - the buffer to read - the offset at which to start - the number of bytes to read - the number of bytes actually read - - - - Write to the stream. - - the buffer from which to write - the offset at which to start writing - the number of bytes to write - - - - Flush the stream. - - - - - Not implemented. - - N/A - N/A - N/A - - - - Not implemented. - - N/A - - - - Closes the stream. - - - - - Gets the total number of bytes run through the CRC32 calculator. - - - - This is either the total number of bytes read, or the total number of bytes - written, depending on the direction of this stream. - - - - - Provides the current CRC for all blocks slurped in. - - - - - Indicates whether the underlying stream will be left open when the - CrcCalculatorStream is Closed. - - - - - Indicates whether the stream supports reading. - - - - - Indicates whether the stream supports seeking. - - - - - Indicates whether the stream supports writing. - - - - - Not implemented. - - - - - Not implemented. - - - - - Describes how to flush the current deflate operation. - - - The different FlushType values are useful when using a Deflate in a streaming application. - - - - No flush at all. - - - Closes the current block, but doesn't flush it to - the output. Used internally only in hypothetical - scenarios. This was supposed to be removed by Zlib, but it is - still in use in some edge cases. - - - - - Use this during compression to specify that all pending output should be - flushed to the output buffer and the output should be aligned on a byte - boundary. You might use this in a streaming communication scenario, so that - the decompressor can get all input data available so far. When using this - with a ZlibCodec, AvailableBytesIn will be zero after the call if - enough output space has been provided before the call. Flushing will - degrade compression and so it should be used only when necessary. - - - - - Use this during compression to specify that all output should be flushed, as - with FlushType.Sync, but also, the compression state should be reset - so that decompression can restart from this point if previous compressed - data has been damaged or if random access is desired. Using - FlushType.Full too often can significantly degrade the compression. - - - - Signals the end of the compression/decompression stream. - - - - A class for compressing and decompressing GZIP streams. - - - - - The GZipStream is a Decorator on a . It adds GZIP compression or decompression to any stream. - - - Like the Compression.GZipStream in the .NET Base - Class Library, the Ionic.Zlib.GZipStream can compress while writing, or decompress - while reading, but not vice versa. The compression method used is GZIP, which is - documented in IETF RFC 1952, - "GZIP file format specification version 4.3". - - A GZipStream can be used to decompress data (through Read()) or to compress - data (through Write()), but not both. - - If you wish to use the GZipStream to compress data, you must wrap it around a - write-able stream. As you call Write() on the GZipStream, the data will be - compressed into the GZIP format. If you want to decompress data, you must wrap the - GZipStream around a readable stream that contains an IETF RFC 1952-compliant stream. - The data will be decompressed as you call Read() on the GZipStream. - - Though the GZIP format allows data from multiple files to be concatenated - together, this stream handles only a single segment of GZIP format, typically - representing a single file. - - - This class is similar to and . - ZlibStream handles RFC1950-compliant streams. - handles RFC1951-compliant streams. This class handles RFC1952-compliant streams. - - - - - - - - - - Create a GZipStream using the specified CompressionMode and the specified CompressionLevel, - and explicitly specify whether the stream should be left open after Deflation or Inflation. - - - - This constructor allows the application to request that the captive stream remain open after - the deflation or inflation occurs. By default, after Close() is called on the stream, the - captive stream is also closed. In some cases this is not desired, for example if the stream - is a memory stream that will be re-read after compressed data has been written to it. Specify true for the - leaveOpen parameter to leave the stream open. - - - As noted in the class documentation, - the CompressionMode (Compress or Decompress) also establishes the "direction" of the stream. - A GZipStream with CompressionMode.Compress works only through Write(). A GZipStream with - CompressionMode.Decompress works only through Read(). - - - - This example shows how to use a DeflateStream to compress data. - - using (System.IO.Stream input = System.IO.File.OpenRead(fileToCompress)) - { - using (var raw = System.IO.File.Create(outputFile)) - { - using (Stream compressor = new GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, true)) - { - byte[] buffer = new byte[WORKING_BUFFER_SIZE]; - int n; - while ((n= input.Read(buffer, 0, buffer.Length)) != 0) - { - compressor.Write(buffer, 0, n); - } - } - } - } - - - Dim outputFile As String = (fileToCompress & ".compressed") - Using input As Stream = File.OpenRead(fileToCompress) - Using raw As FileStream = File.Create(outputFile) - Using compressor As Stream = New GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, True) - Dim buffer As Byte() = New Byte(4096) {} - Dim n As Integer = -1 - Do While (n <> 0) - If (n > 0) Then - compressor.Write(buffer, 0, n) - End If - n = input.Read(buffer, 0, buffer.Length) - Loop - End Using - End Using - End Using - - - The stream which will be read or written. - Indicates whether the GZipStream will compress or decompress. - true if the application would like the stream to remain open after inflation/deflation. - A tuning knob to trade speed for effectiveness. - - - - Dispose the stream. - - - This may or may not result in a Close() call on the captive stream. - See the ctor's with leaveOpen parameters for more information. - - - - - Flush the stream. - - - - - Read and decompress data from the source stream. - - - With a GZipStream, decompression is done through reading. - - - - byte[] working = new byte[WORKING_BUFFER_SIZE]; - using (System.IO.Stream input = System.IO.File.OpenRead(_CompressedFile)) - { - using (Stream decompressor= new Ionic.Zlib.GZipStream(input, CompressionMode.Decompress, true)) - { - using (var output = System.IO.File.Create(_DecompressedFile)) - { - int n; - while ((n= decompressor.Read(working, 0, working.Length)) !=0) - { - output.Write(working, 0, n); - } - } - } - } - - - The buffer into which the decompressed data should be placed. - the offset within that data array to put the first byte read. - the number of bytes to read. - the number of bytes actually read - - - - Calling this method always throws a . - - irrelevant; it will always throw! - irrelevant; it will always throw! - irrelevant! - - - - Calling this method always throws a NotImplementedException. - - irrelevant; this method will always throw! - - - - The Comment on the GZIP stream. - - - - The GZIP format allows for each file to optionally have an associated comment stored with the - file. The comment is encoded with the ISO-8859-1 code page. To include a comment in - a GZIP stream you create, set this property before calling Write() for the first time - on the GZipStream. - - - - When using GZipStream to decompress, you can retrieve this property after the first - call to Read(). If no comment has been set in the GZIP bytestream, the Comment - property will return null (Nothing in VB). - - - - - - The FileName for the GZIP stream. - - - - The GZIP format optionally allows each file to have an associated filename. When - compressing data (through Write()), set this FileName before calling Write() the first - time on the GZipStream. The actual filename is encoded into the GZIP bytestream with - the ISO-8859-1 code page, according to RFC 1952. It is the application's responsibility to - insure that the FileName can be encoded and decoded correctly with this code page. - - - When decompressing (through Read()), you can retrieve this value any time after the - first Read(). In the case where there was no filename encoded into the GZIP - bytestream, the property will return null (Nothing in VB). - - - - - - The CRC on the GZIP stream. - - - This is used for internal error checking. You probably don't need to look at this property. - - - - - This property sets the flush behavior on the stream. - - - - - The size of the working buffer for the compression codec. - - - - - The working buffer is used for all stream operations. The default size is 1024 bytes. - The minimum size is 128 bytes. You may get better performance with a larger buffer. - Then again, you might not. You would have to test it. - - - - Set this before the first call to Read() or Write() on the stream. If you try to set it - afterwards, it will throw. - - - - - Returns the total number of bytes input so far. - - - Returns the total number of bytes output so far. - - - - Indicates whether the stream can be read. - - - The return value depends on whether the captive stream supports reading. - - - - - Indicates whether the stream supports Seek operations. - - - Always returns false. - - - - - Indicates whether the stream can be written. - - - The return value depends on whether the captive stream supports writing. - - - - - Reading this property always throws a NotImplementedException. - - - - - The position of the stream pointer. - - - Writing this property always throws a NotImplementedException. Reading will - return the total bytes written out, if used in writing, or the total bytes - read in, if used in reading. The count may refer to compressed bytes or - uncompressed bytes, depending on how you've used the stream. - - - - - A general purpose exception class for exceptions in the Zlib library. - - - - - The ZlibException class captures exception information generated - by the Zlib library. - - - - - This ctor collects a message attached to the exception. - - - - - - Performs an unsigned bitwise right shift with the specified number - - Number to operate on - Ammount of bits to shift - The resulting number from the shift operation - - - - Performs an unsigned bitwise right shift with the specified number - - Number to operate on - Ammount of bits to shift - The resulting number from the shift operation - - - Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index. - The source TextReader to read from - Contains the array of characteres read from the source TextReader. - The starting index of the target array. - The maximum number of characters to read from the source TextReader. - The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached. - - - - Computes an Adler-32 checksum. - - - The Adler checksum is similar to a CRC checksum, but faster to compute, though less - reliable. It is used in producing RFC1950 compressed streams. The Adler checksum - is a required part of the "ZLIB" standard. Applications will almost never need to - use this class directly. - - - - - Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951). - - - - This class compresses and decompresses data according to the Deflate algorithm - and optionally, the ZLIB format, as documented in RFC 1950 - ZLIB and RFC 1951 - DEFLATE. - - - - - The buffer from which data is taken. - - - - - An index into the InputBuffer array, indicating where to start reading. - - - - - The number of bytes available in the InputBuffer, starting at NextIn. - - - Generally you should set this to InputBuffer.Length before the first Inflate() or Deflate() call. - The class will update this number as calls to Inflate/Deflate are made. - - - - - Total number of bytes read so far, through all calls to Inflate()/Deflate(). - - - - - Buffer to store output data. - - - - - An index into the OutputBuffer array, indicating where to start writing. - - - - - The number of bytes available in the OutputBuffer, starting at NextOut. - - - Generally you should set this to OutputBuffer.Length before the first Inflate() or Deflate() call. - The class will update this number as calls to Inflate/Deflate are made. - - - - - Total number of bytes written to the output so far, through all calls to Inflate()/Deflate(). - - - - - used for diagnostics, when something goes wrong! - - - - - The number of Window Bits to use. - - - This gauges the size of the sliding window, and hence the - compression effectiveness as well as memory consumption. It's best to just leave this - setting alone if you don't know what it is. The maximum value is 15 bits, which implies - a 32k window. - - - - - Create a ZlibCodec that decompresses. - - - - - Initialize the inflation state. - - - It is not necessary to call this before using the ZlibCodec to inflate data; - It is implicitly called when you call the constructor. - - Z_OK if everything goes well. - - - - Initialize the inflation state with an explicit flag to - govern the handling of RFC1950 header bytes. - - - - By default, the ZLIB header defined in RFC 1950 is expected. If - you want to read a zlib stream you should specify true for - expectRfc1950Header. If you have a deflate stream, you will want to specify - false. It is only necessary to invoke this initializer explicitly if you - want to specify false. - - - whether to expect an RFC1950 header byte - pair when reading the stream of data to be inflated. - - Z_OK if everything goes well. - - - - Initialize the ZlibCodec for inflation, with the specified number of window bits. - - The number of window bits to use. If you need to ask what that is, - then you shouldn't be calling this initializer. - Z_OK if all goes well. - - - - Initialize the inflation state with an explicit flag to govern the handling of - RFC1950 header bytes. - - - - If you want to read a zlib stream you should specify true for - expectRfc1950Header. In this case, the library will expect to find a ZLIB - header, as defined in RFC - 1950, in the compressed stream. If you will be reading a DEFLATE or - GZIP stream, which does not have such a header, you will want to specify - false. - - - whether to expect an RFC1950 header byte pair when reading - the stream of data to be inflated. - The number of window bits to use. If you need to ask what that is, - then you shouldn't be calling this initializer. - Z_OK if everything goes well. - - - - Inflate the data in the InputBuffer, placing the result in the OutputBuffer. - - - You must have set InputBuffer and OutputBuffer, NextIn and NextOut, and AvailableBytesIn and - AvailableBytesOut before calling this method. - - - - private void InflateBuffer() - { - int bufferSize = 1024; - byte[] buffer = new byte[bufferSize]; - ZlibCodec decompressor = new ZlibCodec(); - - Console.WriteLine("\n============================================"); - Console.WriteLine("Size of Buffer to Inflate: {0} bytes.", CompressedBytes.Length); - MemoryStream ms = new MemoryStream(DecompressedBytes); - - int rc = decompressor.InitializeInflate(); - - decompressor.InputBuffer = CompressedBytes; - decompressor.NextIn = 0; - decompressor.AvailableBytesIn = CompressedBytes.Length; - - decompressor.OutputBuffer = buffer; - - // pass 1: inflate - do - { - decompressor.NextOut = 0; - decompressor.AvailableBytesOut = buffer.Length; - rc = decompressor.Inflate(ZlibConstants.Z_NO_FLUSH); - - if (rc != ZlibConstants.Z_OK && rc != ZlibConstants.Z_STREAM_END) - throw new Exception("inflating: " + decompressor.Message); - - ms.Write(decompressor.OutputBuffer, 0, buffer.Length - decompressor.AvailableBytesOut); - } - while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); - - // pass 2: finish and flush - do - { - decompressor.NextOut = 0; - decompressor.AvailableBytesOut = buffer.Length; - rc = decompressor.Inflate(ZlibConstants.Z_FINISH); - - if (rc != ZlibConstants.Z_STREAM_END && rc != ZlibConstants.Z_OK) - throw new Exception("inflating: " + decompressor.Message); - - if (buffer.Length - decompressor.AvailableBytesOut > 0) - ms.Write(buffer, 0, buffer.Length - decompressor.AvailableBytesOut); - } - while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); - - decompressor.EndInflate(); - } - - - - The flush to use when inflating. - Z_OK if everything goes well. - - - - Ends an inflation session. - - - Call this after successively calling Inflate(). This will cause all buffers to be flushed. - After calling this you cannot call Inflate() without a intervening call to one of the - InitializeInflate() overloads. - - Z_OK if everything goes well. - - - - I don't know what this does! - - Z_OK if everything goes well. - - - - Set the dictionary to be used for either Inflation or Deflation. - - The dictionary bytes to use. - Z_OK if all goes well. - - - - The Adler32 checksum on the data transferred through the codec so far. You probably don't need to look at this. - - - - - A bunch of constants used in the Zlib interface. - - - - - The maximum number of window bits for the Deflate algorithm. - - - - - The default number of window bits for the Deflate algorithm. - - - - - indicates everything is A-OK - - - - - Indicates that the last operation reached the end of the stream. - - - - - The operation ended in need of a dictionary. - - - - - There was an error with the stream - not enough data, not open and readable, etc. - - - - - There was an error with the data - not enough data, bad data, etc. - - - - - There was an error with the working buffer. - - - - - The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes. - - - - - The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes. - - - - - Represents a Zlib stream for compression or decompression. - - - - - The ZlibStream is a Decorator on a . It adds ZLIB compression or decompression to any - stream. - - - Using this stream, applications can compress or decompress data via - stream Read and Write operations. Either compresssion or - decompression can occur through either reading or writing. The compression - format used is ZLIB, which is documented in IETF RFC 1950, "ZLIB Compressed - Data Format Specification version 3.3". This implementation of ZLIB always uses - DEFLATE as the compression method. (see IETF RFC 1951, "DEFLATE - Compressed Data Format Specification version 1.3.") - - - The ZLIB format allows for varying compression methods, window sizes, and dictionaries. - This implementation always uses the DEFLATE compression method, a preset dictionary, - and 15 window bits by default. - - - - This class is similar to , except that it adds the - RFC1950 header and trailer bytes to a compressed stream when compressing, or expects - the RFC1950 header and trailer bytes when decompressing. It is also similar to the - . - - - - - - - - Dispose the stream. - - - This may or may not result in a Close() call on the captive stream. - See the constructors that have a leaveOpen parameter for more information. - - - - - Flush the stream. - - - - - Read data from the stream. - - - - - - If you wish to use the ZlibStream to compress data while reading, you can create a - ZlibStream with CompressionMode.Compress, providing an uncompressed data stream. Then - call Read() on that ZlibStream, and the data read will be compressed. If you wish to - use the ZlibStream to decompress data while reading, you can create a ZlibStream with - CompressionMode.Decompress, providing a readable compressed data stream. Then call - Read() on that ZlibStream, and the data will be decompressed as it is read. - - - - A ZlibStream can be used for Read() or Write(), but not both. - - - The buffer into which the read data should be placed. - the offset within that data array to put the first byte read. - the number of bytes to read. - - - - Calling this method always throws a NotImplementedException. - - - - - Calling this method always throws a NotImplementedException. - - - - - Write data to the stream. - - - - - - If you wish to use the ZlibStream to compress data while writing, you can create a - ZlibStream with CompressionMode.Compress, and a writable output stream. Then call - Write() on that ZlibStream, providing uncompressed data as input. The data sent to - the output stream will be the compressed form of the data written. If you wish to use - the ZlibStream to decompress data while writing, you can create a ZlibStream with - CompressionMode.Decompress, and a writable output stream. Then call Write() on that - stream, providing previously compressed data. The data sent to the output stream will - be the decompressed form of the data written. - - - - A ZlibStream can be used for Read() or Write(), but not both. - - - The buffer holding data to write to the stream. - the offset within that data array to find the first byte to write. - the number of bytes to write. - - - - Uncompress a byte array into a single string. - - - - A buffer containing ZLIB-compressed data. - - - - - Uncompress a byte array into a byte array. - - - - - A buffer containing ZLIB-compressed data. - - - - - This property sets the flush behavior on the stream. - Sorry, though, not sure exactly how to describe all the various settings. - - - - - The size of the working buffer for the compression codec. - - - - - The working buffer is used for all stream operations. The default size is 1024 bytes. - The minimum size is 128 bytes. You may get better performance with a larger buffer. - Then again, you might not. You would have to test it. - - - - Set this before the first call to Read() or Write() on the stream. If you try to set it - afterwards, it will throw. - - - - - Returns the total number of bytes input so far. - - - Returns the total number of bytes output so far. - - - - Indicates whether the stream can be read. - - - The return value depends on whether the captive stream supports reading. - - - - - Indicates whether the stream supports Seek operations. - - - Always returns false. - - - - - Indicates whether the stream can be written. - - - The return value depends on whether the captive stream supports writing. - - - - - Reading this property always throws a NotImplementedException. - - - - - The position of the stream pointer. - - - Writing this property always throws a NotImplementedException. Reading will - return the total bytes written out, if used in writing, or the total bytes - read in, if used in reading. The count may refer to compressed bytes or - uncompressed bytes, depending on how you've used the stream. - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.dll b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.dll deleted file mode 100644 index 66e7980..0000000 Binary files a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml deleted file mode 100644 index f851bd3..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml +++ /dev/null @@ -1,3866 +0,0 @@ - - - - RestSharp - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial - used by Zip. This type is used internally by DotNetZip; it is generally not used - directly by applications wishing to create, read, or manipulate zip archive - files. - - - - - Returns the CRC32 for the specified stream. - - The stream over which to calculate the CRC32 - the CRC32 calculation - - - - Returns the CRC32 for the specified stream, and writes the input into the - output stream. - - The stream over which to calculate the CRC32 - The stream into which to deflate the input - the CRC32 calculation - - - - Get the CRC32 for the given (word,byte) combo. This is a computation - defined by PKzip. - - The word to start with. - The byte to combine it with. - The CRC-ized result. - - - - Update the value for the running CRC32 using the given block of bytes. - This is useful when using the CRC32() class in a Stream. - - block of bytes to slurp - starting point in the block - how many bytes within the block to slurp - - - - indicates the total number of bytes read on the CRC stream. - This is used when writing the ZipDirEntry when compressing files. - - - - - Indicates the current CRC for all blocks slurped in. - - - - - A Stream that calculates a CRC32 (a checksum) on all bytes read, - or on all bytes written. - - - - - This class can be used to verify the CRC of a ZipEntry when - reading from a stream, or to calculate a CRC when writing to a - stream. The stream should be used to either read, or write, but - not both. If you intermix reads and writes, the results are not - defined. - - - - This class is intended primarily for use internally by the - DotNetZip library. - - - - - - The default constructor. - - - Instances returned from this constructor will leave the underlying stream - open upon Close(). - - The underlying stream - - - - The constructor allows the caller to specify how to handle the underlying - stream at close. - - The underlying stream - true to leave the underlying stream - open upon close of the CrcCalculatorStream.; false otherwise. - - - - A constructor allowing the specification of the length of the stream to read. - - - Instances returned from this constructor will leave the underlying stream open - upon Close(). - - The underlying stream - The length of the stream to slurp - - - - A constructor allowing the specification of the length of the stream to - read, as well as whether to keep the underlying stream open upon Close(). - - The underlying stream - The length of the stream to slurp - true to leave the underlying stream - open upon close of the CrcCalculatorStream.; false otherwise. - - - - Read from the stream - - the buffer to read - the offset at which to start - the number of bytes to read - the number of bytes actually read - - - - Write to the stream. - - the buffer from which to write - the offset at which to start writing - the number of bytes to write - - - - Flush the stream. - - - - - Not implemented. - - N/A - N/A - N/A - - - - Not implemented. - - N/A - - - - Closes the stream. - - - - - Gets the total number of bytes run through the CRC32 calculator. - - - - This is either the total number of bytes read, or the total number of bytes - written, depending on the direction of this stream. - - - - - Provides the current CRC for all blocks slurped in. - - - - - Indicates whether the underlying stream will be left open when the - CrcCalculatorStream is Closed. - - - - - Indicates whether the stream supports reading. - - - - - Indicates whether the stream supports seeking. - - - - - Indicates whether the stream supports writing. - - - - - Not implemented. - - - - - Not implemented. - - - - - Describes how to flush the current deflate operation. - - - The different FlushType values are useful when using a Deflate in a streaming application. - - - - No flush at all. - - - Closes the current block, but doesn't flush it to - the output. Used internally only in hypothetical - scenarios. This was supposed to be removed by Zlib, but it is - still in use in some edge cases. - - - - - Use this during compression to specify that all pending output should be - flushed to the output buffer and the output should be aligned on a byte - boundary. You might use this in a streaming communication scenario, so that - the decompressor can get all input data available so far. When using this - with a ZlibCodec, AvailableBytesIn will be zero after the call if - enough output space has been provided before the call. Flushing will - degrade compression and so it should be used only when necessary. - - - - - Use this during compression to specify that all output should be flushed, as - with FlushType.Sync, but also, the compression state should be reset - so that decompression can restart from this point if previous compressed - data has been damaged or if random access is desired. Using - FlushType.Full too often can significantly degrade the compression. - - - - Signals the end of the compression/decompression stream. - - - - A class for compressing and decompressing GZIP streams. - - - - - The GZipStream is a Decorator on a . It adds GZIP compression or decompression to any stream. - - - Like the Compression.GZipStream in the .NET Base - Class Library, the Ionic.Zlib.GZipStream can compress while writing, or decompress - while reading, but not vice versa. The compression method used is GZIP, which is - documented in IETF RFC 1952, - "GZIP file format specification version 4.3". - - A GZipStream can be used to decompress data (through Read()) or to compress - data (through Write()), but not both. - - If you wish to use the GZipStream to compress data, you must wrap it around a - write-able stream. As you call Write() on the GZipStream, the data will be - compressed into the GZIP format. If you want to decompress data, you must wrap the - GZipStream around a readable stream that contains an IETF RFC 1952-compliant stream. - The data will be decompressed as you call Read() on the GZipStream. - - Though the GZIP format allows data from multiple files to be concatenated - together, this stream handles only a single segment of GZIP format, typically - representing a single file. - - - This class is similar to and . - ZlibStream handles RFC1950-compliant streams. - handles RFC1951-compliant streams. This class handles RFC1952-compliant streams. - - - - - - - - - - Create a GZipStream using the specified CompressionMode and the specified CompressionLevel, - and explicitly specify whether the stream should be left open after Deflation or Inflation. - - - - This constructor allows the application to request that the captive stream remain open after - the deflation or inflation occurs. By default, after Close() is called on the stream, the - captive stream is also closed. In some cases this is not desired, for example if the stream - is a memory stream that will be re-read after compressed data has been written to it. Specify true for the - leaveOpen parameter to leave the stream open. - - - As noted in the class documentation, - the CompressionMode (Compress or Decompress) also establishes the "direction" of the stream. - A GZipStream with CompressionMode.Compress works only through Write(). A GZipStream with - CompressionMode.Decompress works only through Read(). - - - - This example shows how to use a DeflateStream to compress data. - - using (System.IO.Stream input = System.IO.File.OpenRead(fileToCompress)) - { - using (var raw = System.IO.File.Create(outputFile)) - { - using (Stream compressor = new GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, true)) - { - byte[] buffer = new byte[WORKING_BUFFER_SIZE]; - int n; - while ((n= input.Read(buffer, 0, buffer.Length)) != 0) - { - compressor.Write(buffer, 0, n); - } - } - } - } - - - Dim outputFile As String = (fileToCompress & ".compressed") - Using input As Stream = File.OpenRead(fileToCompress) - Using raw As FileStream = File.Create(outputFile) - Using compressor As Stream = New GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, True) - Dim buffer As Byte() = New Byte(4096) {} - Dim n As Integer = -1 - Do While (n <> 0) - If (n > 0) Then - compressor.Write(buffer, 0, n) - End If - n = input.Read(buffer, 0, buffer.Length) - Loop - End Using - End Using - End Using - - - The stream which will be read or written. - Indicates whether the GZipStream will compress or decompress. - true if the application would like the stream to remain open after inflation/deflation. - A tuning knob to trade speed for effectiveness. - - - - Dispose the stream. - - - This may or may not result in a Close() call on the captive stream. - See the ctor's with leaveOpen parameters for more information. - - - - - Flush the stream. - - - - - Read and decompress data from the source stream. - - - With a GZipStream, decompression is done through reading. - - - - byte[] working = new byte[WORKING_BUFFER_SIZE]; - using (System.IO.Stream input = System.IO.File.OpenRead(_CompressedFile)) - { - using (Stream decompressor= new Ionic.Zlib.GZipStream(input, CompressionMode.Decompress, true)) - { - using (var output = System.IO.File.Create(_DecompressedFile)) - { - int n; - while ((n= decompressor.Read(working, 0, working.Length)) !=0) - { - output.Write(working, 0, n); - } - } - } - } - - - The buffer into which the decompressed data should be placed. - the offset within that data array to put the first byte read. - the number of bytes to read. - the number of bytes actually read - - - - Calling this method always throws a . - - irrelevant; it will always throw! - irrelevant; it will always throw! - irrelevant! - - - - Calling this method always throws a NotImplementedException. - - irrelevant; this method will always throw! - - - - The Comment on the GZIP stream. - - - - The GZIP format allows for each file to optionally have an associated comment stored with the - file. The comment is encoded with the ISO-8859-1 code page. To include a comment in - a GZIP stream you create, set this property before calling Write() for the first time - on the GZipStream. - - - - When using GZipStream to decompress, you can retrieve this property after the first - call to Read(). If no comment has been set in the GZIP bytestream, the Comment - property will return null (Nothing in VB). - - - - - - The FileName for the GZIP stream. - - - - The GZIP format optionally allows each file to have an associated filename. When - compressing data (through Write()), set this FileName before calling Write() the first - time on the GZipStream. The actual filename is encoded into the GZIP bytestream with - the ISO-8859-1 code page, according to RFC 1952. It is the application's responsibility to - insure that the FileName can be encoded and decoded correctly with this code page. - - - When decompressing (through Read()), you can retrieve this value any time after the - first Read(). In the case where there was no filename encoded into the GZIP - bytestream, the property will return null (Nothing in VB). - - - - - - The CRC on the GZIP stream. - - - This is used for internal error checking. You probably don't need to look at this property. - - - - - This property sets the flush behavior on the stream. - - - - - The size of the working buffer for the compression codec. - - - - - The working buffer is used for all stream operations. The default size is 1024 bytes. - The minimum size is 128 bytes. You may get better performance with a larger buffer. - Then again, you might not. You would have to test it. - - - - Set this before the first call to Read() or Write() on the stream. If you try to set it - afterwards, it will throw. - - - - - Returns the total number of bytes input so far. - - - Returns the total number of bytes output so far. - - - - Indicates whether the stream can be read. - - - The return value depends on whether the captive stream supports reading. - - - - - Indicates whether the stream supports Seek operations. - - - Always returns false. - - - - - Indicates whether the stream can be written. - - - The return value depends on whether the captive stream supports writing. - - - - - Reading this property always throws a NotImplementedException. - - - - - The position of the stream pointer. - - - Writing this property always throws a NotImplementedException. Reading will - return the total bytes written out, if used in writing, or the total bytes - read in, if used in reading. The count may refer to compressed bytes or - uncompressed bytes, depending on how you've used the stream. - - - - - A general purpose exception class for exceptions in the Zlib library. - - - - - The ZlibException class captures exception information generated - by the Zlib library. - - - - - This ctor collects a message attached to the exception. - - - - - - Performs an unsigned bitwise right shift with the specified number - - Number to operate on - Ammount of bits to shift - The resulting number from the shift operation - - - - Performs an unsigned bitwise right shift with the specified number - - Number to operate on - Ammount of bits to shift - The resulting number from the shift operation - - - Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index. - The source TextReader to read from - Contains the array of characteres read from the source TextReader. - The starting index of the target array. - The maximum number of characters to read from the source TextReader. - The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached. - - - - Computes an Adler-32 checksum. - - - The Adler checksum is similar to a CRC checksum, but faster to compute, though less - reliable. It is used in producing RFC1950 compressed streams. The Adler checksum - is a required part of the "ZLIB" standard. Applications will almost never need to - use this class directly. - - - - - Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951). - - - - This class compresses and decompresses data according to the Deflate algorithm - and optionally, the ZLIB format, as documented in RFC 1950 - ZLIB and RFC 1951 - DEFLATE. - - - - - The buffer from which data is taken. - - - - - An index into the InputBuffer array, indicating where to start reading. - - - - - The number of bytes available in the InputBuffer, starting at NextIn. - - - Generally you should set this to InputBuffer.Length before the first Inflate() or Deflate() call. - The class will update this number as calls to Inflate/Deflate are made. - - - - - Total number of bytes read so far, through all calls to Inflate()/Deflate(). - - - - - Buffer to store output data. - - - - - An index into the OutputBuffer array, indicating where to start writing. - - - - - The number of bytes available in the OutputBuffer, starting at NextOut. - - - Generally you should set this to OutputBuffer.Length before the first Inflate() or Deflate() call. - The class will update this number as calls to Inflate/Deflate are made. - - - - - Total number of bytes written to the output so far, through all calls to Inflate()/Deflate(). - - - - - used for diagnostics, when something goes wrong! - - - - - The number of Window Bits to use. - - - This gauges the size of the sliding window, and hence the - compression effectiveness as well as memory consumption. It's best to just leave this - setting alone if you don't know what it is. The maximum value is 15 bits, which implies - a 32k window. - - - - - Create a ZlibCodec that decompresses. - - - - - Initialize the inflation state. - - - It is not necessary to call this before using the ZlibCodec to inflate data; - It is implicitly called when you call the constructor. - - Z_OK if everything goes well. - - - - Initialize the inflation state with an explicit flag to - govern the handling of RFC1950 header bytes. - - - - By default, the ZLIB header defined in RFC 1950 is expected. If - you want to read a zlib stream you should specify true for - expectRfc1950Header. If you have a deflate stream, you will want to specify - false. It is only necessary to invoke this initializer explicitly if you - want to specify false. - - - whether to expect an RFC1950 header byte - pair when reading the stream of data to be inflated. - - Z_OK if everything goes well. - - - - Initialize the ZlibCodec for inflation, with the specified number of window bits. - - The number of window bits to use. If you need to ask what that is, - then you shouldn't be calling this initializer. - Z_OK if all goes well. - - - - Initialize the inflation state with an explicit flag to govern the handling of - RFC1950 header bytes. - - - - If you want to read a zlib stream you should specify true for - expectRfc1950Header. In this case, the library will expect to find a ZLIB - header, as defined in RFC - 1950, in the compressed stream. If you will be reading a DEFLATE or - GZIP stream, which does not have such a header, you will want to specify - false. - - - whether to expect an RFC1950 header byte pair when reading - the stream of data to be inflated. - The number of window bits to use. If you need to ask what that is, - then you shouldn't be calling this initializer. - Z_OK if everything goes well. - - - - Inflate the data in the InputBuffer, placing the result in the OutputBuffer. - - - You must have set InputBuffer and OutputBuffer, NextIn and NextOut, and AvailableBytesIn and - AvailableBytesOut before calling this method. - - - - private void InflateBuffer() - { - int bufferSize = 1024; - byte[] buffer = new byte[bufferSize]; - ZlibCodec decompressor = new ZlibCodec(); - - Console.WriteLine("\n============================================"); - Console.WriteLine("Size of Buffer to Inflate: {0} bytes.", CompressedBytes.Length); - MemoryStream ms = new MemoryStream(DecompressedBytes); - - int rc = decompressor.InitializeInflate(); - - decompressor.InputBuffer = CompressedBytes; - decompressor.NextIn = 0; - decompressor.AvailableBytesIn = CompressedBytes.Length; - - decompressor.OutputBuffer = buffer; - - // pass 1: inflate - do - { - decompressor.NextOut = 0; - decompressor.AvailableBytesOut = buffer.Length; - rc = decompressor.Inflate(ZlibConstants.Z_NO_FLUSH); - - if (rc != ZlibConstants.Z_OK && rc != ZlibConstants.Z_STREAM_END) - throw new Exception("inflating: " + decompressor.Message); - - ms.Write(decompressor.OutputBuffer, 0, buffer.Length - decompressor.AvailableBytesOut); - } - while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); - - // pass 2: finish and flush - do - { - decompressor.NextOut = 0; - decompressor.AvailableBytesOut = buffer.Length; - rc = decompressor.Inflate(ZlibConstants.Z_FINISH); - - if (rc != ZlibConstants.Z_STREAM_END && rc != ZlibConstants.Z_OK) - throw new Exception("inflating: " + decompressor.Message); - - if (buffer.Length - decompressor.AvailableBytesOut > 0) - ms.Write(buffer, 0, buffer.Length - decompressor.AvailableBytesOut); - } - while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); - - decompressor.EndInflate(); - } - - - - The flush to use when inflating. - Z_OK if everything goes well. - - - - Ends an inflation session. - - - Call this after successively calling Inflate(). This will cause all buffers to be flushed. - After calling this you cannot call Inflate() without a intervening call to one of the - InitializeInflate() overloads. - - Z_OK if everything goes well. - - - - I don't know what this does! - - Z_OK if everything goes well. - - - - Set the dictionary to be used for either Inflation or Deflation. - - The dictionary bytes to use. - Z_OK if all goes well. - - - - The Adler32 checksum on the data transferred through the codec so far. You probably don't need to look at this. - - - - - A bunch of constants used in the Zlib interface. - - - - - The maximum number of window bits for the Deflate algorithm. - - - - - The default number of window bits for the Deflate algorithm. - - - - - indicates everything is A-OK - - - - - Indicates that the last operation reached the end of the stream. - - - - - The operation ended in need of a dictionary. - - - - - There was an error with the stream - not enough data, not open and readable, etc. - - - - - There was an error with the data - not enough data, bad data, etc. - - - - - There was an error with the working buffer. - - - - - The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes. - - - - - The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes. - - - - - Represents a Zlib stream for compression or decompression. - - - - - The ZlibStream is a Decorator on a . It adds ZLIB compression or decompression to any - stream. - - - Using this stream, applications can compress or decompress data via - stream Read and Write operations. Either compresssion or - decompression can occur through either reading or writing. The compression - format used is ZLIB, which is documented in IETF RFC 1950, "ZLIB Compressed - Data Format Specification version 3.3". This implementation of ZLIB always uses - DEFLATE as the compression method. (see IETF RFC 1951, "DEFLATE - Compressed Data Format Specification version 1.3.") - - - The ZLIB format allows for varying compression methods, window sizes, and dictionaries. - This implementation always uses the DEFLATE compression method, a preset dictionary, - and 15 window bits by default. - - - - This class is similar to , except that it adds the - RFC1950 header and trailer bytes to a compressed stream when compressing, or expects - the RFC1950 header and trailer bytes when decompressing. It is also similar to the - . - - - - - - - - Dispose the stream. - - - This may or may not result in a Close() call on the captive stream. - See the constructors that have a leaveOpen parameter for more information. - - - - - Flush the stream. - - - - - Read data from the stream. - - - - - - If you wish to use the ZlibStream to compress data while reading, you can create a - ZlibStream with CompressionMode.Compress, providing an uncompressed data stream. Then - call Read() on that ZlibStream, and the data read will be compressed. If you wish to - use the ZlibStream to decompress data while reading, you can create a ZlibStream with - CompressionMode.Decompress, providing a readable compressed data stream. Then call - Read() on that ZlibStream, and the data will be decompressed as it is read. - - - - A ZlibStream can be used for Read() or Write(), but not both. - - - The buffer into which the read data should be placed. - the offset within that data array to put the first byte read. - the number of bytes to read. - - - - Calling this method always throws a NotImplementedException. - - - - - Calling this method always throws a NotImplementedException. - - - - - Write data to the stream. - - - - - - If you wish to use the ZlibStream to compress data while writing, you can create a - ZlibStream with CompressionMode.Compress, and a writable output stream. Then call - Write() on that ZlibStream, providing uncompressed data as input. The data sent to - the output stream will be the compressed form of the data written. If you wish to use - the ZlibStream to decompress data while writing, you can create a ZlibStream with - CompressionMode.Decompress, and a writable output stream. Then call Write() on that - stream, providing previously compressed data. The data sent to the output stream will - be the decompressed form of the data written. - - - - A ZlibStream can be used for Read() or Write(), but not both. - - - The buffer holding data to write to the stream. - the offset within that data array to find the first byte to write. - the number of bytes to write. - - - - Uncompress a byte array into a single string. - - - - A buffer containing ZLIB-compressed data. - - - - - Uncompress a byte array into a byte array. - - - - - A buffer containing ZLIB-compressed data. - - - - - This property sets the flush behavior on the stream. - Sorry, though, not sure exactly how to describe all the various settings. - - - - - The size of the working buffer for the compression codec. - - - - - The working buffer is used for all stream operations. The default size is 1024 bytes. - The minimum size is 128 bytes. You may get better performance with a larger buffer. - Then again, you might not. You would have to test it. - - - - Set this before the first call to Read() or Write() on the stream. If you try to set it - afterwards, it will throw. - - - - - Returns the total number of bytes input so far. - - - Returns the total number of bytes output so far. - - - - Indicates whether the stream can be read. - - - The return value depends on whether the captive stream supports reading. - - - - - Indicates whether the stream supports Seek operations. - - - Always returns false. - - - - - Indicates whether the stream can be written. - - - The return value depends on whether the captive stream supports writing. - - - - - Reading this property always throws a NotImplementedException. - - - - - The position of the stream pointer. - - - Writing this property always throws a NotImplementedException. Reading will - return the total bytes written out, if used in writing, or the total bytes - read in, if used in reading. The count may refer to compressed bytes or - uncompressed bytes, depending on how you've used the stream. - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - diff --git a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/readme.txt b/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/readme.txt deleted file mode 100644 index b4c46a7..0000000 --- a/c-sharp-rest/PetClinic/packages/RestSharp.105.2.3/readme.txt +++ /dev/null @@ -1,20 +0,0 @@ -*** IMPORTANT CHANGE IN RESTSHARP VERSION 103 *** - -In 103.0, JSON.NET was removed as a dependency. - -If this is still installed in your project and no other libraries depend on -it you may remove it from your installed packages. - -There is one breaking change: the default Json*Serializer* is no longer -compatible with Json.NET. To use Json.NET for serialization, copy the code -from https://github.com/restsharp/RestSharp/blob/86b31f9adf049d7fb821de8279154f41a17b36f7/RestSharp/Serializers/JsonSerializer.cs -and register it with your client: - -var client = new RestClient(); -client.JsonSerializer = new YourCustomSerializer(); - -The default Json*Deserializer* is mostly compatible, but it does not support -all features which Json.NET has (like the ability to support a custom [JsonConverter] -by decorating a certain property with an attribute). If you need these features, you -must take care of the deserialization yourself to get it working. - diff --git a/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/Driver/wires-0.6.0-win.exe b/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/Driver/wires-0.6.0-win.exe deleted file mode 100644 index f2337ee..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/Driver/wires-0.6.0-win.exe and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/Selenium.Mozilla.Firefox.Webdriver.0.6.0.nupkg b/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/Selenium.Mozilla.Firefox.Webdriver.0.6.0.nupkg deleted file mode 100644 index 7e920cf..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/Selenium.Mozilla.Firefox.Webdriver.0.6.0.nupkg and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/content/Readme.txt b/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/content/Readme.txt deleted file mode 100644 index 4d0c3d7..0000000 --- a/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/content/Readme.txt +++ /dev/null @@ -1 +0,0 @@ -This is the Mozilla's webdriver for Firefox. Additional information at https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver \ No newline at end of file diff --git a/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/tools/install.ps1 b/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/tools/install.ps1 deleted file mode 100644 index 3c4e81d..0000000 --- a/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/tools/install.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -$driverFile = "MicrosoftWebDriver.exe" -$label = "MicrosoftWebDriver" - -$markerFile = "README-$label.txt" -$driverPath = Join-Path (Join-Path $installPath "driver") $driverFile - -$projectUri = [uri]$project.FullName; -$drivertUri = [uri]$driverPath; -$driverRelativePath = $projectUri.MakeRelative($drivertUri) -replace "/","\" - -# delete marker file. -$project.ProjectItems.Item($markerFile).Delete() - -# Add content item as a link that is WebDriver binary saved at higher folder. -# (This is normal case.) -if ($driverRelativePath -like "..\*") { - $project.ProjectItems.AddFromFile($driverPath) - $project.ProjectItems.Item($driverFile).Properties.Item("CopyToOutputDirectory").Value = 2 -} -$project.Save() - -# Treat the project file as a MSBuild script xml instead of DTEnv object model. -Add-Type -AssemblyName 'Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' -$projectXml = ([Microsoft.Build.Evaluation.ProjectCollection]::GlobalProjectCollection.GetLoadedProjects($project.FullName) | select -First 1).Xml - -# Add content item as a link that is WebDriver binary saved at lower folder. -# (This is the case that .csproj file and packages folder are in a same folder.) -if ($driverRelativePath -notlike "..\*") { - $itemGrp = $projectXml.CreateItemGroupElement() - $projectXml.AppendChild($itemGrp) - $item = $itemGrp.AddItem("Content", $driverRelativePath) - $item.AddMetadata("Link", $driverFile) - $item.AddMetadata("CopyToOutputDirectory", "PreserveNewest") -} - -$project.Save() diff --git a/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/tools/uninstall.ps1 b/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/tools/uninstall.ps1 deleted file mode 100644 index 5773eb2..0000000 --- a/c-sharp-rest/PetClinic/packages/Selenium.Mozilla.Firefox.Webdriver.0.6.0/tools/uninstall.ps1 +++ /dev/null @@ -1,37 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -$driverFile = "MicrosoftWebDriver.exe" -$label = "MicrosoftWebDriver" - -$driverPath = Join-Path (Join-Path $installPath "driver") $driverFile - -$projectUri = [uri]$project.FullName; -$drivertUri = [uri]$driverPath; -$driverRelativePath = $projectUri.MakeRelative($drivertUri) -replace "/","\" - -# Delete content item that is WebDriver binary saved at higher folder. -# (This is normal case.) -if ($driverRelativePath -like "..\*") { - $project.ProjectItems.Item($driverFile).Delete() - $project.Save() -} - -# Treat the project file as a MSBuild script xml instead of DTEnv object model. -Add-Type -AssemblyName 'Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' -$projectXml = ([Microsoft.Build.Evaluation.ProjectCollection]::GlobalProjectCollection.GetLoadedProjects($project.FullName) | select -First 1).Xml - -# Delete content item that is WebDriver binary saved at lower folder. -# (This is the case that .csproj file and packages folder are in a same folder.) -if ($driverRelativePath -notlike "..\*") { - $projectXml.Children | ` - where { $_ -is [Microsoft.Build.Construction.ProjectItemGroupElement] } | ` - foreach { $_.Children } | ` - where { ($_.Children | where {$_.Name -eq "Link" -and $_.Value -eq $driverFile}) -ne $null } | ` - foreach { - $itemGrp = $_.Parent - $itemGrp.RemoveChild($_) - if ($itemGrp.Children.Count -eq 0) { $projectXml.RemoveChild($itemGrp) } - } -} - -$project.Save() diff --git a/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/Selenium.Support.2.53.0.nupkg b/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/Selenium.Support.2.53.0.nupkg deleted file mode 100644 index 7da9a8c..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/Selenium.Support.2.53.0.nupkg and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net35/WebDriver.Support.dll b/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net35/WebDriver.Support.dll deleted file mode 100644 index 09634d9..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net35/WebDriver.Support.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net35/WebDriver.Support.xml b/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net35/WebDriver.Support.xml deleted file mode 100644 index 79b21a8..0000000 --- a/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net35/WebDriver.Support.xml +++ /dev/null @@ -1,2377 +0,0 @@ - - - - WebDriver.Support - - - - - A wrapper around an arbitrary WebDriver instance which supports registering for - events, e.g. for logging purposes. - - - - - Initializes a new instance of the class. - - The driver to register events for. - - - - Close the current window, quitting the browser if it is the last window currently open. - - - - - Quits this driver, closing every associated window. - - - - - Instructs the driver to change its settings. - - An object allowing the user to change - the settings of the driver. - - - - Instructs the driver to navigate the browser to another location. - - An object allowing the user to access - the browser's history and to navigate to a given URL. - - - - Instructs the driver to send future commands to a different frame or window. - - An object which can be used to select - a frame or window. - - - - Find the first using the given method. - - The locating mechanism to use. - The first matching on the current context. - If no element matches the criteria. - - - - Find all IWebElements within the current context - using the given mechanism. - - The locating mechanism to use. - A of all WebElements - matching the current criteria, or an empty list if nothing matches. - - - - Frees all managed and unmanaged resources used by this instance. - - - - - Executes JavaScript in the context of the currently selected frame or window. - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - The method executes JavaScript in the context of - the currently selected frame or window. This means that "document" will refer - to the current document. If the script has a return value, then the following - steps will be taken: - - - - For an HTML element, this method returns a - For a number, a is returned - For a boolean, a is returned - For all other cases a is returned. - For an array,we check the first element, and attempt to return a - of that type, following the rules above. Nested lists are not - supported. - If the value is null or there is no return value, - is returned. - - - - Arguments must be a number (which will be converted to a ), - a , a or a . - An exception will be thrown if the arguments do not meet these criteria. - The arguments will be made available to the JavaScript via the "arguments" magic - variable, as if the function were called via "Function.apply" - - - - - - Executes JavaScript asynchronously in the context of the currently selected frame or window. - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - - Gets a object representing the image of the page on the screen. - - A object containing the image. - - - - Frees all managed and, optionally, unmanaged resources used by this instance. - - to dispose of only managed resources; - to dispose of managed and unmanaged resources. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Fires before the driver begins navigation. - - - - - Fires after the driver completes navigation - - - - - Fires before the driver begins navigation back one entry in the browser history list. - - - - - Fires after the driver completes navigation back one entry in the browser history list. - - - - - Fires before the driver begins navigation forward one entry in the browser history list. - - - - - Fires after the driver completes navigation forward one entry in the browser history list. - - - - - Fires before the driver clicks on an element. - - - - - Fires after the driver has clicked on an element. - - - - - Fires before the driver changes the value of an element via Clear(), SendKeys() or Toggle(). - - - - - Fires after the driver has changed the value of an element via Clear(), SendKeys() or Toggle(). - - - - - Fires before the driver starts to find an element. - - - - - Fires after the driver completes finding an element. - - - - - Fires before a script is executed. - - - - - Fires after a script is executed. - - - - - Fires when an exception is thrown. - - - - - Gets the wrapped by this EventsFiringWebDriver instance. - - - - - Gets or sets the URL the browser is currently displaying. - - - Setting the property will load a new web page in the current browser window. - This is done using an HTTP GET operation, and the method will block until the - load is complete. This will follow redirects issued either by the server or - as a meta-redirect from within the returned HTML. Should a meta-redirect "rest" - for any duration of time, it is best to wait until this timeout is over, since - should the underlying page change while your test is executing the results of - future calls against this interface will be against the freshly loaded page. - - - - - - - Gets the title of the current browser window. - - - - - Gets the source of the page last loaded by the browser. - - - If the page has been modified after loading (for example, by JavaScript) - there is no guarantee that the returned text is that of the modified page. - Please consult the documentation of the particular driver being used to - determine whether the returned text reflects the current state of the page - or the text last sent by the web server. The page source returned is a - representation of the underlying DOM: do not expect it to be formatted - or escaped in the same way as the response sent from the web server. - - - - - Gets the current window handle, which is an opaque handle to this - window that uniquely identifies it within this driver instance. - - - - - Gets the window handles of open browser windows. - - - - - Provides a mechanism for Navigating with the driver. - - - - - Initializes a new instance of the class - - Driver in use - - - - Move the browser back - - - - - Move the browser forward - - - - - Navigate to a url for your test - - String of where you want the browser to go to - - - - Navigate to a url for your test - - Uri object of where you want the browser to go to - - - - Refresh the browser - - - - - Provides a mechanism for setting options needed for the driver during the test. - - - - - Initializes a new instance of the class - - Instance of the driver currently in use - - - - Provides access to the timeouts defined for this driver. - - An object implementing the interface. - - - - Gets an object allowing the user to manipulate cookies on the page. - - - - - Gets an object allowing the user to manipulate the currently-focused browser window. - - "Currently-focused" is defined as the browser window having the window handle - returned when IWebDriver.CurrentWindowHandle is called. - - - - Provides a mechanism for finding elements on the page with locators. - - - - - Initializes a new instance of the class - - The driver that is currently in use - - - - Move to a different frame using its index - - The index of the - A WebDriver instance that is currently in use - - - - Move to different frame using its name - - name of the frame - A WebDriver instance that is currently in use - - - - Move to a frame element. - - a previously found FRAME or IFRAME element. - A WebDriver instance that is currently in use. - - - - Select the parent frame of the currently selected frame. - - An instance focused on the specified frame. - - - - Change to the Window by passing in the name - - name of the window that you wish to move to - A WebDriver instance that is currently in use - - - - Change the active frame to the default - - Element of the default - - - - Finds the active element on the page and returns it - - Element that is active - - - - Switches to the currently active modal dialog for this particular driver instance. - - A handle to the dialog. - - - - Defines the interface through which the user can define timeouts. - - - - - Initializes a new instance of the class - - The object to wrap. - - - - Specifies the amount of time the driver should wait when searching for an - element if it is not immediately present. - - A structure defining the amount of time to wait. - A self reference - - When searching for a single element, the driver should poll the page - until the element has been found, or this timeout expires before throwing - a . When searching for multiple elements, - the driver should poll the page until at least one element has been found - or this timeout has expired. - - Increasing the implicit wait timeout should be used judiciously as it - will have an adverse effect on test run time, especially when used with - slower location strategies like XPath. - - - - - - Specifies the amount of time the driver should wait when executing JavaScript asynchronously. - - A structure defining the amount of time to wait. - A self reference - - - - Specifies the amount of time the driver should wait for a page to load when setting the property. - - A structure defining the amount of time to wait. - A self reference - - - - EventFiringWebElement allows you to have access to specific items that are found on the page - - - - - Initializes a new instance of the class. - - The instance hosting this element. - The to wrap for event firing. - - - - Method to clear the text out of an Input element - - - - - Method for sending native key strokes to the browser - - String containing what you would like to type onto the screen - - - - If this current element is a form, or an element within a form, then this will be submitted to the remote server. - If this causes the current page to change, then this method will block until the new page is loaded. - - - - - Click this element. If this causes a new page to load, this method will block until - the page has loaded. At this point, you should discard all references to this element - and any further operations performed on this element will have undefined behavior unless - you know that the element and the page will still be present. If this element is not - clickable, then this operation is a no-op since it's pretty common for someone to - accidentally miss the target when clicking in Real Life - - - - - If this current element is a form, or an element within a form, then this will be submitted to the remote server. If this causes the current page to change, then this method will block until the new page is loaded. - - Attribute you wish to get details of - The attribute's current value or null if the value is not set. - - - - Method to return the value of a CSS Property - - CSS property key - string value of the CSS property - - - - Finds the first element in the page that matches the object - - By mechanism to find the element - IWebElement object so that you can interaction that object - - - - Finds the elements on the page by using the object and returns a ReadOnlyCollection of the Elements on the page - - By mechanism to find the element - ReadOnlyCollection of IWebElement - - - - Gets the underlying wrapped . - - - - - Gets the DOM Tag of element - - - - - Gets the text from the element - - - - - Gets a value indicating whether an element is currently enabled - - - - - Gets a value indicating whether this element is selected or not. This operation only applies to input elements such as checkboxes, options in a select and radio buttons. - - - - - Gets the Location of an element and returns a Point object - - - - - Gets the of the element on the page - - - - - Gets a value indicating whether the element is currently being displayed - - - - - Gets the underlying EventFiringWebDriver for this element. - - - - - Provides data for events related to finding elements. - - - - - Initializes a new instance of the class. - - The WebDriver instance used in finding elements. - The object containing the method used to find elements - - - - Initializes a new instance of the class. - - The WebDriver instance used in finding elements. - The parent element used as the context for the search. - The object containing the method used to find elements. - - - - Gets the WebDriver instance used in finding elements. - - - - - Gets the parent element used as the context for the search. - - - - - Gets the object containing the method used to find elements. - - - - - Provides data for events relating to exception handling. - - - - - Initializes a new instance of the class. - - The WebDriver instance throwing the exception. - The exception thrown by the driver. - - - - Gets the exception thrown by the driver. - - - - - Gets the WebDriver instance . - - - - - Provides data for events relating to navigation. - - - - - Initializes a new instance of the class. - - The WebDriver instance used in navigation. - - - - Initializes a new instance of the class. - - The WebDriver instance used in navigation. - The URL navigated to by the driver. - - - - Gets the URL navigated to by the driver. - - - - - Gets the WebDriver instance used in navigation. - - - - - Provides data for events relating to executing JavaScript. - - - - - Initializes a new instance of the class. - - The WebDriver instance used to execute the script. - The script executed by the driver. - - - - Gets the WebDriver instance used to execute the script. - - - - - Gets the script executed by the driver. - - - - - Provides data for events relating to elements. - - - - - Initializes a new instance of the class. - - The WebDriver instance used for the action. - The element used for the action. - - - - Gets the WebDriver instance used for the action. - - - - - Gets the element used for the action. - - - - - Provides extension methods for convenience in using WebDriver. - - - - - Gets a object representing the image of the page on the screen. - - The driver instance to extend. - A object containing the image. - Thrown if this instance - does not implement , or the capabilities of the driver - indicate that it cannot take screenshots. - - - - Executes JavaScript in the context of the currently selected frame or window - - The driver instance to extend. - The JavaScript code to execute. - The arguments to the script. - Thrown if this instance - does not implement - - - - Executes JavaScript in the context of the currently selected frame or window - - Expected return type of the JavaScript execution. - The driver instance to extend. - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - Thrown if this instance - does not implement , or if the actual return type - of the JavaScript execution does not match the expected type. - - - - Mechanism used to locate elements within a document using a series of lookups. This class will - find all DOM elements that matches all of the locators in sequence, e.g. - - - The following code will find all elements that match by1 and then all elements that also match by2. - - driver.findElements(new ByAll(by1, by2)) - - This means that the list of elements returned may not be in document order. - > - - - - Initializes a new instance of the class with one or more objects. - - One or more references - - - - Find a single element. - - Context used to find the element. - The element that matches - - - - Finds many elements - - Context used to find the element. - A readonly collection of elements that match. - - - - Writes out a comma separated list of the objects used in the chain. - - Converts the value of this instance to a - - - - Mechanism used to locate elements within a document using a series of other lookups. This class - will find all DOM elements that matches each of the locators in sequence - - - The following code will will find all elements that match by2 and appear under an element that matches - by1. - - driver.findElements(new ByChained(by1, by2)) - - - - - - Initializes a new instance of the class with one or more objects. - - One or more references - - - - Find a single element. - - Context used to find the element. - The element that matches - - - - Finds many elements - - Context used to find the element. - A readonly collection of elements that match. - - - - Writes out a comma separated list of the objects used in the chain. - - Converts the value of this instance to a - - - - Provides instances of the object to the attributes. - - - - - Gets an instance of the class based on the specified attribute. - - The describing how to find the element. - An instance of the class. - - - - Finds element when the id or the name attribute has the specified value. - - - - - Initializes a new instance of the class. - - The ID or Name to use in finding the element. - - - - Find a single element. - - Context used to find the element. - The element that matches - - - - Finds many elements - - Context used to find the element. - A readonly collection of elements that match. - - - - Writes out a description of this By object. - - Converts the value of this instance to a - - - - Marks the element so that lookups to the browser page are cached. This class cannot be inherited. - - - - - A default locator for elements for use with the . This locator - implements no retry logic for elements not being found, nor for elements being stale. - - - - - Interface describing how elements are to be located by a . - - - A locator must always contain a way to retrieve the to - use in locating elements. In practice, this will usually be implemented by passing - the context in via a constructor. - - - - - Locates an element using the given list of criteria. - - The list of methods by which to search for the element. - An which is the first match under the desired criteria. - - - - Locates a list of elements using the given list of criteria. - - The list of methods by which to search for the elements. - A list of all elements which match the desired criteria. - - - - Gets the to be used in locating elements. - - - - - Initializes a new instance of the class. - - The used by this locator - to locate elements. - - - - Locates an element using the given list of criteria. - - The list of methods by which to search for the element. - An which is the first match under the desired criteria. - - - - Locates a list of elements using the given list of criteria. - - The list of methods by which to search for the elements. - A list of all elements which match the desired criteria. - - - - Gets the to be used in locating elements. - - - - - Default decorator determining how members of a class which represent elements in a Page Object - are detected. - - - - - Interface describing how members of a class which represent elements in a Page Object - are detected. - - - - - Locates an element or list of elements for a Page Object member, and returns a - proxy object for the element or list of elements. - - The containing information about - a class's member. - The used to locate elements. - A transparent proxy to the WebDriver element object. - - - - Locates an element or list of elements for a Page Object member, and returns a - proxy object for the element or list of elements. - - The containing information about - a class's member. - The used to locate elements. - A transparent proxy to the WebDriver element object. - - - - Determines whether lookups on this member should be cached. - - The containing information about - the member of the Page Object class. - if lookups are to be cached; otherwise, . - - - - Creates a list of locators based on the attributes of this member. - - The containing information about - the member of the Page Object class. - A list of locators based on the attributes of this member. - - - - Marks elements to indicate that found elements should match the criteria of - all on the field or property. - - - - When used with a set of , all criteria must be - matched to be returned. The criteria are used in sequence according to the - Priority property. Note that the behavior when setting multiple - Priority properties to the same value, or not - specifying a Priority value, is undefined. - - - - // Will find the element with the tag name "input" that also has an ID - // attribute matching "elementId". - [FindsByAll] - [FindsBy(How = How.TagName, Using = "input", Priority = 0)] - [FindsBy(How = How.Id, Using = "elementId", Priority = 1)] - public IWebElement thisElement; - - - - - - - Marks program elements with methods by which to find a corresponding element on the page. Used - in conjunction with the , it allows you to quickly create Page Objects. - - - - You can use this attribute by specifying the and properties - to indicate how to find the elements. This attribute can be used to decorate fields and properties - in your Page Object classes. The of the field or property must be either - or IList{IWebElement}. Any other type will throw an - when is called. - - - - [FindsBy(How = How.Name, Using = "myElementName")] - public IWebElement foundElement; - - [FindsBy(How = How.TagName, Using = "a")] - public IList{IWebElement} allLinks; - - - - You can also use multiple instances of this attribute to find an element that may meet - one of multiple criteria. When using multiple instances, you can specify the order in - which the criteria is matched by using the property. - - - - // Will find the element with the name attribute matching the first of "anElementName" - // or "differentElementName". - [FindsBy(How = How.Name, Using = "anElementName", Priority = 0)] - [FindsBy(How = How.Name, Using = "differentElementName", Priority = 1)] - public IWebElement thisElement; - - - - - - - Determines if two instances are equal. - - One instance to compare. - The other instance to compare. - if the two instances are equal; otherwise, . - - - - Determines if two instances are unequal. - s - One instance to compare. - The other instance to compare. - if the two instances are not equal; otherwise, . - - - - Determines if one instance is greater than another. - - One instance to compare. - The other instance to compare. - if the first instance is greater than the second; otherwise, . - - - - Determines if one instance is less than another. - - One instance to compare. - The other instance to compare. - if the first instance is less than the second; otherwise, . - - - - 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 value that indicates the relative order of the objects being compared. The return value has these meanings: - - ValueMeaning - Less than zeroThis instance precedes in the sort order. - ZeroThis instance occurs in the same position in the sort order as . - Greater than zeroThis instance follows in the sort order. - - - - - - Determines whether the specified Object is equal - to the current Object. - - The Object to compare with the - current Object. - if the specified Object - is equal to the current Object; otherwise, - . - - - - Serves as a hash function for a particular type. - - A hash code for the current Object. - - - - Gets or sets the method used to look up the element - - - - - Gets or sets the value to lookup by (i.e. for How.Name, the actual name to look up) - - - - - Gets or sets a value indicating where this attribute should be evaluated relative to other instances - of this attribute decorating the same class member. - - - - - Gets or sets a value indicating the of the custom finder. The custom finder must - descend from the class, and expose a public constructor that takes a - argument. - - - - - Gets or sets an explicit object to find by. - Setting this property takes precedence over setting the How or Using properties. - - - - - Marks elements to indicate that each on the field or - property should be used in sequence to find the appropriate element. - - - - When used with a set of , the criteria are used - in sequence according to the Priority property to find child elements. Note that - the behavior when setting multiple Priority - properties to the same value, or not specifying a Priority value, is undefined. - - - - // Will find the element with the ID attribute matching "elementId", then will find - // a child element with the ID attribute matching "childElementId". - [FindsBySequence] - [FindsBy(How = How.Id, Using = "elementId", Priority = 0)] - [FindsBy(How = How.Id, Using = "childElementId", Priority = 1)] - public IWebElement thisElement; - - - - - - - Provides the lookup methods for the FindsBy attribute (for using in PageObjects) - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by a custom implementation. - - - - - Provides the ability to produce Page Objects modeling a page. This class cannot be inherited. - - - - - Initializes a new instance of the class. - Private constructor prevents a default instance from being created. - - - - - Initializes the elements in the Page Object with the given type. - - The of the Page Object class. - The instance used to populate the page. - An instance of the Page Object class with the elements initialized. - - The class used in the argument must have a public constructor - that takes a single argument of type . This helps to enforce - best practices of the Page Object pattern, and encapsulates the driver into the Page - Object so that it can have no external WebDriver dependencies. - - - thrown if no constructor to the class can be found with a single IWebDriver argument - -or- - if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - Initializes the elements in the Page Object with the given type. - - The of the Page Object class. - The implementation that - determines how elements are located. - An instance of the Page Object class with the elements initialized. - - The class used in the argument must have a public constructor - that takes a single argument of type . This helps to enforce - best practices of the Page Object pattern, and encapsulates the driver into the Page - Object so that it can have no external WebDriver dependencies. - - - thrown if no constructor to the class can be found with a single IWebDriver argument - -or- - if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - Initializes the elements in the Page Object. - - The driver used to find elements on the page. - The Page Object to be populated with elements. - - thrown if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - Initializes the elements in the Page Object. - - The driver used to find elements on the page. - The Page Object to be populated with elements. - The implementation that - determines how Page Object members representing elements are discovered and populated. - - thrown if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - Initializes the elements in the Page Object. - - The Page Object to be populated with elements. - The implementation that - determines how elements are located. - - thrown if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - Initializes the elements in the Page Object. - - The Page Object to be populated with elements. - The implementation that - determines how elements are located. - The implementation that - determines how Page Object members representing elements are discovered and populated. - - thrown if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - A locator for elements for use with the that retries locating - the element up to a timeout if the element is not found. - - - - - Initializes a new instance of the class. - - The object that the - locator uses for locating elements. - - - - Initializes a new instance of the class. - - The object that the - locator uses for locating elements. - The indicating how long the locator should - retry before timing out. - - - - Initializes a new instance of the class. - - The object that the - locator uses for locating elements. - The indicating how long the locator should - retry before timing out. - The indicating how often to poll - for the existence of the element. - - - - Locates an element using the given list of criteria. - - The list of methods by which to search for the element. - An which is the first match under the desired criteria. - - - - Locates a list of elements using the given list of criteria. - - The list of methods by which to search for the elements. - A list of all elements which match the desired criteria. - - - - Gets the to be used in locating elements. - - - - - Represents a base proxy class for objects used with the PageFactory. - - - - - Initializes a new instance of the class. - - The of object for which to create a proxy. - The implementation that - determines how elements are located. - The list of methods by which to search for the elements. - to cache the lookup to the element; otherwise, . - - - - Invokes a method on the object this proxy represents. - - Message containing the parameters of the method being invoked. - The object this proxy represents. - The instance as a result of method invocation on the - object which this proxy represents. - - - - Gets the implementation that determines how elements are located. - - - - - Gets the list of methods by which to search for the elements. - - - - - Gets a value indicating whether element search results should be cached. - - - - - Represents a proxy class for a list of elements to be used with the PageFactory. - - - - - Initializes a new instance of the class. - - The of object for which to create a proxy. - The implementation that - determines how elements are located. - The list of methods by which to search for the elements. - to cache the lookup to the element; otherwise, . - - - - Creates an object used to proxy calls to properties and methods of the - list of objects. - - The of object for which to create a proxy. - The implementation that - determines how elements are located. - The list of methods by which to search for the elements. - to cache the lookup to the - element; otherwise, . - An object used to proxy calls to properties and methods of the - list of objects. - - - - Invokes the method that is specified in the provided on the - object that is represented by the current instance. - - An that contains an of - information about the method call. - The message returned by the invoked method, containing the return value and any - out or ref parameters. - - - - Gets the list of IWebElement objects this proxy represents, returning a cached one if requested. - - - - - Intercepts the request to a single - - - - - Initializes a new instance of the class. - - The of object for which to create a proxy. - The implementation that determines - how elements are located. - The list of methods by which to search for the elements. - to cache the lookup to the element; otherwise, . - - - - Creates an object used to proxy calls to properties and methods of an object. - - The of object for which to create a proxy. - The implementation that - determines how elements are located. - The list of methods by which to search for the elements. - to cache the lookup to the element; otherwise, . - An object used to proxy calls to properties and methods of the list of objects. - - - - Invokes the method that is specified in the provided on the - object that is represented by the current instance. - - An that contains a dictionary of - information about the method call. - The message returned by the invoked method, containing the return value and any - out or ref parameters. - - - - Gets the wrapped by this object. - - - - - Gets the IWebElement object this proxy represents, returning a cached one if requested. - - - - - An implementation of the interface that may have its timeout and polling interval - configured on the fly. - - The type of object on which the wait it to be applied. - - - - Interface describing a class designed to wait for a condition. - - The type of object used to detect the condition. - - - - Configures this instance to ignore specific types of exceptions while waiting for a condition. - Any exceptions not whitelisted will be allowed to propagate, terminating the wait. - - The types of exceptions to ignore. - - - - Waits until a condition is true or times out. - - The type of result to expect from the condition. - A delegate taking a TSource as its parameter, and returning a TResult. - If TResult is a boolean, the method returns when the condition is true, and otherwise. - If TResult is an object, the method returns the object when the condition evaluates to a value other than . - Thrown when TResult is not boolean or an object type. - - - - Gets or sets how long to wait for the evaluated condition to be true. - - - - - Gets or sets how often the condition should be evaluated. - - - - - Gets or sets the message to be displayed when time expires. - - - - - Initializes a new instance of the class. - - The input value to pass to the evaluated conditions. - - - - Initializes a new instance of the class. - - The input value to pass to the evaluated conditions. - The clock to use when measuring the timeout. - - - - Configures this instance to ignore specific types of exceptions while waiting for a condition. - Any exceptions not whitelisted will be allowed to propagate, terminating the wait. - - The types of exceptions to ignore. - - - - Repeatedly applies this instance's input value to the given function until one of the following - occurs: - - - the function returns neither null nor false - the function throws an exception that is not in the list of ignored exception types - the timeout expires - - - - The delegate's expected return type. - A delegate taking an object of type T as its parameter, and returning a TResult. - The delegate's return value. - - - - Throws a with the given message. - - The message of the exception. - The last exception thrown by the condition. - This method may be overridden to throw an exception that is - idiomatic for a particular test infrastructure. - - - - Gets or sets how long to wait for the evaluated condition to be true. The default timeout is 500 milliseconds. - - - - - Gets or sets how often the condition should be evaluated. The default timeout is 500 milliseconds. - - - - - Gets or sets the message to be displayed when time expires. - - - - - Supplies a set of common conditions that can be waited for using . - - - - IWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(3)) - IWebElement element = wait.Until(ExpectedConditions.ElementExists(By.Id("foo"))); - - - - - - Prevents a default instance of the class from being created. - - - - - An expectation for checking the title of a page. - - The expected title, which must be an exact match. - when the title matches; otherwise, . - - - - An expectation for checking that the title of a page contains a case-sensitive substring. - - The fragment of title expected. - when the title matches; otherwise, . - - - - An expectation for the URL of the current page to be a specific URL. - - The URL that the page should be on - when the URL is what it should be; otherwise, . - - - - An expectation for the URL of the current page to be a specific URL. - - The fraction of the url that the page should be on - when the URL contains the text; otherwise, . - - - - An expectation for the URL of the current page to be a specific URL. - - The regular expression that the URL should match - if the URL matches the specified regular expression; otherwise, . - - - - An expectation for checking that an element is present on the DOM of a - page. This does not necessarily mean that the element is visible. - - The locator used to find the element. - The once it is located. - - - - An expectation for checking that an element is present on the DOM of a page - and visible. Visibility means that the element is not only displayed but - also has a height and width that is greater than 0. - - The locator used to find the element. - The once it is located and visible. - - - - An expectation for checking that all elements present on the web page that - match the locator are visible. Visibility means that the elements are not - only displayed but also have a height and width that is greater than 0. - - The locator used to find the element. - The list of once it is located and visible. - - - - An expectation for checking that all elements present on the web page that - match the locator are visible. Visibility means that the elements are not - only displayed but also have a height and width that is greater than 0. - - list of WebElements - The list of once it is located and visible. - - - - An expectation for checking that all elements present on the web page that - match the locator. - - The locator used to find the element. - The list of once it is located. - - - - An expectation for checking if the given text is present in the specified element. - - The WebElement - Text to be present in the element - once the element contains the given text; otherwise, . - - - - An expectation for checking if the given text is present in the element that matches the given locator. - - The locator used to find the element. - Text to be present in the element - once the element contains the given text; otherwise, . - - - - An expectation for checking if the given text is present in the specified elements value attribute. - - The WebElement - Text to be present in the element - once the element contains the given text; otherwise, . - - - - An expectation for checking if the given text is present in the specified elements value attribute. - - The locator used to find the element. - Text to be present in the element - once the element contains the given text; otherwise, . - - - - An expectation for checking whether the given frame is available to switch - to. If the frame is available it switches the given driver to the - specified frame. - - Used to find the frame (id or name) - - - - - An expectation for checking whether the given frame is available to switch - to. If the frame is available it switches the given driver to the - specified frame. - - Locator for the Frame - - - - - An expectation for checking that an element is either invisible or not present on the DOM. - - The locator used to find the element. - if the element is not displayed; otherwise, . - - - - An expectation for checking that an element with text is either invisible or not present on the DOM. - - The locator used to find the element. - Text of the element - if the element is not displayed; otherwise, . - - - - An expectation for checking an element is visible and enabled such that you - can click it. - - The locator used to find the element. - The once it is located and clickable (visible and enabled). - - - - An expectation for checking an element is visible and enabled such that you - can click it. - - The element. - The once it is clickable (visible and enabled). - - - - Wait until an element is no longer attached to the DOM. - - The element. - is the element is still attached to the DOM; otherwise, . - - - - An expectation for checking if the given element is selected. - - The element. - given element is selected.; otherwise, . - - - - An expectation for checking if the given element is selected. - - The element. - selected or not selected - given element is selected.; otherwise, . - - - - An expectation for checking if the given element is in correct state. - - The element. - selected or not selected - given element is in correct state.; otherwise, . - - - - An expectation for checking if the given element is selected. - - The locator used to find the element. - given element is selected.; otherwise, . - - - - An expectation for checking if the given element is in correct state. - - The locator used to find the element. - selected or not selected - given element is in correct state.; otherwise, . - - - - An expectation for checking the AlterIsPresent - - Alert - - - - An expectation for checking the Alert State - - A value indicating whether or not an alert should be displayed in order to meet this condition. - alert is in correct state present or not present; otherwise, . - - - - An interface describing time handling functions for timeouts. - - - - - Gets the at a specified offset in the future. - - The offset to use. - The at the specified offset in the future. - - - - Gets a value indicating whether the current date and time is before the specified date and time. - - The date and time values to compare the current date and time values to. - if the current date and time is before the specified date and time; otherwise, . - - - - Gets the current date and time values. - - - - - Interface allows for the component to be used in Nested Component scenarios such that the - child component class does not have to declare the generic type of the parent explicitly. - - - public class HypotheticalLoadableComponent : LoadableComponent<T> { - ILoadableComponent parent; - public HypotheticalLoadableComponent(ILoadableComponent parent) { - this.parent = parent; - } - protected void EvaluateLoadedStatus() { //code to determine loaded state } - protected void ExecuteLoad() { - parent.Load(); //loads the parent - //code to load this component - } - } - - - - - Loads the component. - - A reference to this . - - - - This exception is thrown by to indicate that - the component was not successfully loaded. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message of 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Represents any abstraction of something that can be loaded. This may be an entire web page, or - simply a component within that page (such as a login box or menu) or even a service. - - The type to be returned (normally the subclass' type) - - The expected usage is: - - - new HypotheticalComponent().Load(); - - - - - After the method is called, the component will be loaded and - ready for use. Overload the protected Load and IsLoaded members to both load a component and determine - if the component is already loaded. - - - - - Ensure that the component is currently loaded. - - The loaded component. - This is equivalent to the Get() method in Java version. - - - - Ensure that the component is currently loaded. - - The loaded instance. - - - - HandleLoadError gives a subclass the opportunity to handle a that occurred - during the execution of . - - The exception which occurs on load. - - - - When this method returns, the component modeled by the subclass should be fully loaded. This - subclass is expected to navigate to an appropriate page or trigger loading the correct HTML - should this be necessary. - - - - - Determine whether or not the component is loaded. Subclasses are expected to provide the details - to determine if the page or component is loaded. - - A boolean value indicating if the component is loaded. - - - - Attempts to load this component, providing an opportunity for the user to handle any errors encountered - during the load process. - - A self-reference to this - - - - Gets or sets the message for the exception thrown when a component cannot be loaded - - - - - Gets a value indicating whether the component is fully loaded. - - - When the component is loaded, this property will return true or false depending on - the execution of to indicate the not loaded state. - - - - - Provides a mechanism by which the window handle of an invoked - popup browser window may be determined. - - - - // Store the current window handle so you can switch back to the - // original window when you close the popup. - string current = driver.CurrentWindowHandle; - PopupWindowFinder finder = new PopupWindowFinder(driver); - string newHandle = finder.Click(driver.FindElement(By.LinkText("Open new window"))); - driver.SwitchTo.Window(newHandle); - - - - - - Initializes a new instance of the class. - - The instance that is used - to manipulate the popup window. - When using this constructor overload, the timeout will be 5 seconds, - and the check for a new window will be performed every 250 milliseconds. - - - - Initializes a new instance of the class - with the specified timeout. - - The instance that is used - to manipulate the popup window. - The representing the amount of - time to wait for the popup window to appear. - When using this constructor overload, the check for a new window - will be performed every 250 milliseconds. - - - - Initializes a new instance of the class - with the specified timeout and using the specified interval to check for - the existence of the new window. - - The instance that is used - to manipulate the popup window. - The representing the amount of - time to wait for the popup window to appear. - The representing the - amount of time to wait between checks of the available window handles. - - - - Clicks on an element that is expected to trigger a popup browser window. - - The that, when clicked, invokes - the popup browser window. - The window handle of the popup browser window. - Thrown if no popup window appears within the specified timeout. - Thrown if the element to click is . - - - - Invokes a method that is expected to trigger a popup browser window. - - An that, when run, invokes - the popup browser window. - The window handle of the popup browser window. - Thrown if no popup window appears within the specified timeout. - Thrown if the action to invoke is . - - - - Provides a convenience method for manipulating selections of options in an HTML select element. - - - - - Initializes a new instance of the class. - - The element to be wrapped - Thrown when the object is - Thrown when the element wrapped is not a <select> element. - - - - Select all options by the text displayed. - - The text of the option to be selected. If an exact match is not found, - this method will perform a substring match. - When given "Bar" this method would select an option like: - - <option value="foo">Bar</option> - - - Thrown if there is no element with the given text present. - - - - Select an option by the value. - - The value of the option to be selected. - When given "foo" this method will select an option like: - - <option value="foo">Bar</option> - - - Thrown when no element with the specified value is found. - - - - Select the option by the index, as determined by the "index" attribute of the element. - - The value of the index attribute of the option to be selected. - Thrown when no element exists with the specified index attribute. - - - - Clear all selected entries. This is only valid when the SELECT supports multiple selections. - - Thrown when attempting to deselect all options from a SELECT - that does not support multiple selections. - - - - Deselect the option by the text displayed. - - Thrown when attempting to deselect option from a SELECT - that does not support multiple selections. - Thrown when no element exists with the specified test attribute. - The text of the option to be deselected. - When given "Bar" this method would deselect an option like: - - <option value="foo">Bar</option> - - - - - - Deselect the option having value matching the specified text. - - Thrown when attempting to deselect option from a SELECT - that does not support multiple selections. - Thrown when no element exists with the specified value attribute. - The value of the option to deselect. - When given "foo" this method will deselect an option like: - - <option value="foo">Bar</option> - - - - - - Deselect the option by the index, as determined by the "index" attribute of the element. - - Thrown when attempting to deselect option from a SELECT - that does not support multiple selections. - Thrown when no element exists with the specified index attribute. - The value of the index attribute of the option to deselect. - - - - Gets the wrapped by this object. - - - - - Gets a value indicating whether the parent element supports multiple selections. - - - - - Gets the list of options for the select element. - - - - - Gets the selected item within the select element. - - If more than one item is selected this will return the first item. - Thrown if no option is selected. - - - - Gets all of the selected options within the select element. - - - - - A which might not have finished loading when Load() returns. After a - call to Load(), the IsLoaded property should continue to return false until the component has fully - loaded. Use the HandleErrors() method to check for error conditions which caused the Load() to fail. - -
-            new SlowHypotheticalComponent().Load();
-            
-
-
- The type to be returned (normally the subclass' type) -
- - - Initializes a new instance of the class. - - The within which the component should be loaded. - - - - Initializes a new instance of the class. - - The within which the component should be loaded. - The to use when measuring the timeout. - - - - Ensures that the component is currently loaded. - - The loaded component. - This is equivalent to the Get() method in Java version. - - - - Checks for well known error cases, which would mean that loading has finished, but an error - condition was seen. - - - This method should be overridden so that expected errors can be automatically handled. - - - - - Gets or sets the time to sleep between each check of the load status of the component. - - - - - Uses the system clock to calculate time for timeouts. - - - - - Calculates the date and time values after a specific delay. - - The delay after to calculate. - The future date and time values. - - - - Gets a value indicating whether the current date and time is before the specified date and time. - - The date and time values to compare the current date and time values to. - if the current date and time is before the specified date and time; otherwise, . - - - - Gets the current date and time values. - - - - - The exception thrown when using the Select class on a tag that - does not support the HTML select element's selection semantics. - - - - - Initializes a new instance of the class with - the expected tag name and the actual tag name. - - The tag name that was expected. - The actual tag name of the element. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message of 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Provides the ability to wait for an arbitrary condition during test execution. - - - - IWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(3)) - IWebElement element = wait.Until(driver => driver.FindElement(By.Name("q"))); - - - - - - Initializes a new instance of the class. - - The WebDriver instance used to wait. - The timeout value indicating how long to wait for the condition. - - - - Initializes a new instance of the class. - - An object implementing the interface used to determine when time has passed. - The WebDriver instance used to wait. - The timeout value indicating how long to wait for the condition. - A value indicating how often to check for the condition to be true. - -
-
diff --git a/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net40/WebDriver.Support.dll b/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net40/WebDriver.Support.dll deleted file mode 100644 index bff950c..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net40/WebDriver.Support.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net40/WebDriver.Support.xml b/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net40/WebDriver.Support.xml deleted file mode 100644 index 79b21a8..0000000 --- a/c-sharp-rest/PetClinic/packages/Selenium.Support.2.53.0/lib/net40/WebDriver.Support.xml +++ /dev/null @@ -1,2377 +0,0 @@ - - - - WebDriver.Support - - - - - A wrapper around an arbitrary WebDriver instance which supports registering for - events, e.g. for logging purposes. - - - - - Initializes a new instance of the class. - - The driver to register events for. - - - - Close the current window, quitting the browser if it is the last window currently open. - - - - - Quits this driver, closing every associated window. - - - - - Instructs the driver to change its settings. - - An object allowing the user to change - the settings of the driver. - - - - Instructs the driver to navigate the browser to another location. - - An object allowing the user to access - the browser's history and to navigate to a given URL. - - - - Instructs the driver to send future commands to a different frame or window. - - An object which can be used to select - a frame or window. - - - - Find the first using the given method. - - The locating mechanism to use. - The first matching on the current context. - If no element matches the criteria. - - - - Find all IWebElements within the current context - using the given mechanism. - - The locating mechanism to use. - A of all WebElements - matching the current criteria, or an empty list if nothing matches. - - - - Frees all managed and unmanaged resources used by this instance. - - - - - Executes JavaScript in the context of the currently selected frame or window. - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - The method executes JavaScript in the context of - the currently selected frame or window. This means that "document" will refer - to the current document. If the script has a return value, then the following - steps will be taken: - - - - For an HTML element, this method returns a - For a number, a is returned - For a boolean, a is returned - For all other cases a is returned. - For an array,we check the first element, and attempt to return a - of that type, following the rules above. Nested lists are not - supported. - If the value is null or there is no return value, - is returned. - - - - Arguments must be a number (which will be converted to a ), - a , a or a . - An exception will be thrown if the arguments do not meet these criteria. - The arguments will be made available to the JavaScript via the "arguments" magic - variable, as if the function were called via "Function.apply" - - - - - - Executes JavaScript asynchronously in the context of the currently selected frame or window. - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - - Gets a object representing the image of the page on the screen. - - A object containing the image. - - - - Frees all managed and, optionally, unmanaged resources used by this instance. - - to dispose of only managed resources; - to dispose of managed and unmanaged resources. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Raises the event. - - A that contains the event data. - - - - Fires before the driver begins navigation. - - - - - Fires after the driver completes navigation - - - - - Fires before the driver begins navigation back one entry in the browser history list. - - - - - Fires after the driver completes navigation back one entry in the browser history list. - - - - - Fires before the driver begins navigation forward one entry in the browser history list. - - - - - Fires after the driver completes navigation forward one entry in the browser history list. - - - - - Fires before the driver clicks on an element. - - - - - Fires after the driver has clicked on an element. - - - - - Fires before the driver changes the value of an element via Clear(), SendKeys() or Toggle(). - - - - - Fires after the driver has changed the value of an element via Clear(), SendKeys() or Toggle(). - - - - - Fires before the driver starts to find an element. - - - - - Fires after the driver completes finding an element. - - - - - Fires before a script is executed. - - - - - Fires after a script is executed. - - - - - Fires when an exception is thrown. - - - - - Gets the wrapped by this EventsFiringWebDriver instance. - - - - - Gets or sets the URL the browser is currently displaying. - - - Setting the property will load a new web page in the current browser window. - This is done using an HTTP GET operation, and the method will block until the - load is complete. This will follow redirects issued either by the server or - as a meta-redirect from within the returned HTML. Should a meta-redirect "rest" - for any duration of time, it is best to wait until this timeout is over, since - should the underlying page change while your test is executing the results of - future calls against this interface will be against the freshly loaded page. - - - - - - - Gets the title of the current browser window. - - - - - Gets the source of the page last loaded by the browser. - - - If the page has been modified after loading (for example, by JavaScript) - there is no guarantee that the returned text is that of the modified page. - Please consult the documentation of the particular driver being used to - determine whether the returned text reflects the current state of the page - or the text last sent by the web server. The page source returned is a - representation of the underlying DOM: do not expect it to be formatted - or escaped in the same way as the response sent from the web server. - - - - - Gets the current window handle, which is an opaque handle to this - window that uniquely identifies it within this driver instance. - - - - - Gets the window handles of open browser windows. - - - - - Provides a mechanism for Navigating with the driver. - - - - - Initializes a new instance of the class - - Driver in use - - - - Move the browser back - - - - - Move the browser forward - - - - - Navigate to a url for your test - - String of where you want the browser to go to - - - - Navigate to a url for your test - - Uri object of where you want the browser to go to - - - - Refresh the browser - - - - - Provides a mechanism for setting options needed for the driver during the test. - - - - - Initializes a new instance of the class - - Instance of the driver currently in use - - - - Provides access to the timeouts defined for this driver. - - An object implementing the interface. - - - - Gets an object allowing the user to manipulate cookies on the page. - - - - - Gets an object allowing the user to manipulate the currently-focused browser window. - - "Currently-focused" is defined as the browser window having the window handle - returned when IWebDriver.CurrentWindowHandle is called. - - - - Provides a mechanism for finding elements on the page with locators. - - - - - Initializes a new instance of the class - - The driver that is currently in use - - - - Move to a different frame using its index - - The index of the - A WebDriver instance that is currently in use - - - - Move to different frame using its name - - name of the frame - A WebDriver instance that is currently in use - - - - Move to a frame element. - - a previously found FRAME or IFRAME element. - A WebDriver instance that is currently in use. - - - - Select the parent frame of the currently selected frame. - - An instance focused on the specified frame. - - - - Change to the Window by passing in the name - - name of the window that you wish to move to - A WebDriver instance that is currently in use - - - - Change the active frame to the default - - Element of the default - - - - Finds the active element on the page and returns it - - Element that is active - - - - Switches to the currently active modal dialog for this particular driver instance. - - A handle to the dialog. - - - - Defines the interface through which the user can define timeouts. - - - - - Initializes a new instance of the class - - The object to wrap. - - - - Specifies the amount of time the driver should wait when searching for an - element if it is not immediately present. - - A structure defining the amount of time to wait. - A self reference - - When searching for a single element, the driver should poll the page - until the element has been found, or this timeout expires before throwing - a . When searching for multiple elements, - the driver should poll the page until at least one element has been found - or this timeout has expired. - - Increasing the implicit wait timeout should be used judiciously as it - will have an adverse effect on test run time, especially when used with - slower location strategies like XPath. - - - - - - Specifies the amount of time the driver should wait when executing JavaScript asynchronously. - - A structure defining the amount of time to wait. - A self reference - - - - Specifies the amount of time the driver should wait for a page to load when setting the property. - - A structure defining the amount of time to wait. - A self reference - - - - EventFiringWebElement allows you to have access to specific items that are found on the page - - - - - Initializes a new instance of the class. - - The instance hosting this element. - The to wrap for event firing. - - - - Method to clear the text out of an Input element - - - - - Method for sending native key strokes to the browser - - String containing what you would like to type onto the screen - - - - If this current element is a form, or an element within a form, then this will be submitted to the remote server. - If this causes the current page to change, then this method will block until the new page is loaded. - - - - - Click this element. If this causes a new page to load, this method will block until - the page has loaded. At this point, you should discard all references to this element - and any further operations performed on this element will have undefined behavior unless - you know that the element and the page will still be present. If this element is not - clickable, then this operation is a no-op since it's pretty common for someone to - accidentally miss the target when clicking in Real Life - - - - - If this current element is a form, or an element within a form, then this will be submitted to the remote server. If this causes the current page to change, then this method will block until the new page is loaded. - - Attribute you wish to get details of - The attribute's current value or null if the value is not set. - - - - Method to return the value of a CSS Property - - CSS property key - string value of the CSS property - - - - Finds the first element in the page that matches the object - - By mechanism to find the element - IWebElement object so that you can interaction that object - - - - Finds the elements on the page by using the object and returns a ReadOnlyCollection of the Elements on the page - - By mechanism to find the element - ReadOnlyCollection of IWebElement - - - - Gets the underlying wrapped . - - - - - Gets the DOM Tag of element - - - - - Gets the text from the element - - - - - Gets a value indicating whether an element is currently enabled - - - - - Gets a value indicating whether this element is selected or not. This operation only applies to input elements such as checkboxes, options in a select and radio buttons. - - - - - Gets the Location of an element and returns a Point object - - - - - Gets the of the element on the page - - - - - Gets a value indicating whether the element is currently being displayed - - - - - Gets the underlying EventFiringWebDriver for this element. - - - - - Provides data for events related to finding elements. - - - - - Initializes a new instance of the class. - - The WebDriver instance used in finding elements. - The object containing the method used to find elements - - - - Initializes a new instance of the class. - - The WebDriver instance used in finding elements. - The parent element used as the context for the search. - The object containing the method used to find elements. - - - - Gets the WebDriver instance used in finding elements. - - - - - Gets the parent element used as the context for the search. - - - - - Gets the object containing the method used to find elements. - - - - - Provides data for events relating to exception handling. - - - - - Initializes a new instance of the class. - - The WebDriver instance throwing the exception. - The exception thrown by the driver. - - - - Gets the exception thrown by the driver. - - - - - Gets the WebDriver instance . - - - - - Provides data for events relating to navigation. - - - - - Initializes a new instance of the class. - - The WebDriver instance used in navigation. - - - - Initializes a new instance of the class. - - The WebDriver instance used in navigation. - The URL navigated to by the driver. - - - - Gets the URL navigated to by the driver. - - - - - Gets the WebDriver instance used in navigation. - - - - - Provides data for events relating to executing JavaScript. - - - - - Initializes a new instance of the class. - - The WebDriver instance used to execute the script. - The script executed by the driver. - - - - Gets the WebDriver instance used to execute the script. - - - - - Gets the script executed by the driver. - - - - - Provides data for events relating to elements. - - - - - Initializes a new instance of the class. - - The WebDriver instance used for the action. - The element used for the action. - - - - Gets the WebDriver instance used for the action. - - - - - Gets the element used for the action. - - - - - Provides extension methods for convenience in using WebDriver. - - - - - Gets a object representing the image of the page on the screen. - - The driver instance to extend. - A object containing the image. - Thrown if this instance - does not implement , or the capabilities of the driver - indicate that it cannot take screenshots. - - - - Executes JavaScript in the context of the currently selected frame or window - - The driver instance to extend. - The JavaScript code to execute. - The arguments to the script. - Thrown if this instance - does not implement - - - - Executes JavaScript in the context of the currently selected frame or window - - Expected return type of the JavaScript execution. - The driver instance to extend. - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - Thrown if this instance - does not implement , or if the actual return type - of the JavaScript execution does not match the expected type. - - - - Mechanism used to locate elements within a document using a series of lookups. This class will - find all DOM elements that matches all of the locators in sequence, e.g. - - - The following code will find all elements that match by1 and then all elements that also match by2. - - driver.findElements(new ByAll(by1, by2)) - - This means that the list of elements returned may not be in document order. - > - - - - Initializes a new instance of the class with one or more objects. - - One or more references - - - - Find a single element. - - Context used to find the element. - The element that matches - - - - Finds many elements - - Context used to find the element. - A readonly collection of elements that match. - - - - Writes out a comma separated list of the objects used in the chain. - - Converts the value of this instance to a - - - - Mechanism used to locate elements within a document using a series of other lookups. This class - will find all DOM elements that matches each of the locators in sequence - - - The following code will will find all elements that match by2 and appear under an element that matches - by1. - - driver.findElements(new ByChained(by1, by2)) - - - - - - Initializes a new instance of the class with one or more objects. - - One or more references - - - - Find a single element. - - Context used to find the element. - The element that matches - - - - Finds many elements - - Context used to find the element. - A readonly collection of elements that match. - - - - Writes out a comma separated list of the objects used in the chain. - - Converts the value of this instance to a - - - - Provides instances of the object to the attributes. - - - - - Gets an instance of the class based on the specified attribute. - - The describing how to find the element. - An instance of the class. - - - - Finds element when the id or the name attribute has the specified value. - - - - - Initializes a new instance of the class. - - The ID or Name to use in finding the element. - - - - Find a single element. - - Context used to find the element. - The element that matches - - - - Finds many elements - - Context used to find the element. - A readonly collection of elements that match. - - - - Writes out a description of this By object. - - Converts the value of this instance to a - - - - Marks the element so that lookups to the browser page are cached. This class cannot be inherited. - - - - - A default locator for elements for use with the . This locator - implements no retry logic for elements not being found, nor for elements being stale. - - - - - Interface describing how elements are to be located by a . - - - A locator must always contain a way to retrieve the to - use in locating elements. In practice, this will usually be implemented by passing - the context in via a constructor. - - - - - Locates an element using the given list of criteria. - - The list of methods by which to search for the element. - An which is the first match under the desired criteria. - - - - Locates a list of elements using the given list of criteria. - - The list of methods by which to search for the elements. - A list of all elements which match the desired criteria. - - - - Gets the to be used in locating elements. - - - - - Initializes a new instance of the class. - - The used by this locator - to locate elements. - - - - Locates an element using the given list of criteria. - - The list of methods by which to search for the element. - An which is the first match under the desired criteria. - - - - Locates a list of elements using the given list of criteria. - - The list of methods by which to search for the elements. - A list of all elements which match the desired criteria. - - - - Gets the to be used in locating elements. - - - - - Default decorator determining how members of a class which represent elements in a Page Object - are detected. - - - - - Interface describing how members of a class which represent elements in a Page Object - are detected. - - - - - Locates an element or list of elements for a Page Object member, and returns a - proxy object for the element or list of elements. - - The containing information about - a class's member. - The used to locate elements. - A transparent proxy to the WebDriver element object. - - - - Locates an element or list of elements for a Page Object member, and returns a - proxy object for the element or list of elements. - - The containing information about - a class's member. - The used to locate elements. - A transparent proxy to the WebDriver element object. - - - - Determines whether lookups on this member should be cached. - - The containing information about - the member of the Page Object class. - if lookups are to be cached; otherwise, . - - - - Creates a list of locators based on the attributes of this member. - - The containing information about - the member of the Page Object class. - A list of locators based on the attributes of this member. - - - - Marks elements to indicate that found elements should match the criteria of - all on the field or property. - - - - When used with a set of , all criteria must be - matched to be returned. The criteria are used in sequence according to the - Priority property. Note that the behavior when setting multiple - Priority properties to the same value, or not - specifying a Priority value, is undefined. - - - - // Will find the element with the tag name "input" that also has an ID - // attribute matching "elementId". - [FindsByAll] - [FindsBy(How = How.TagName, Using = "input", Priority = 0)] - [FindsBy(How = How.Id, Using = "elementId", Priority = 1)] - public IWebElement thisElement; - - - - - - - Marks program elements with methods by which to find a corresponding element on the page. Used - in conjunction with the , it allows you to quickly create Page Objects. - - - - You can use this attribute by specifying the and properties - to indicate how to find the elements. This attribute can be used to decorate fields and properties - in your Page Object classes. The of the field or property must be either - or IList{IWebElement}. Any other type will throw an - when is called. - - - - [FindsBy(How = How.Name, Using = "myElementName")] - public IWebElement foundElement; - - [FindsBy(How = How.TagName, Using = "a")] - public IList{IWebElement} allLinks; - - - - You can also use multiple instances of this attribute to find an element that may meet - one of multiple criteria. When using multiple instances, you can specify the order in - which the criteria is matched by using the property. - - - - // Will find the element with the name attribute matching the first of "anElementName" - // or "differentElementName". - [FindsBy(How = How.Name, Using = "anElementName", Priority = 0)] - [FindsBy(How = How.Name, Using = "differentElementName", Priority = 1)] - public IWebElement thisElement; - - - - - - - Determines if two instances are equal. - - One instance to compare. - The other instance to compare. - if the two instances are equal; otherwise, . - - - - Determines if two instances are unequal. - s - One instance to compare. - The other instance to compare. - if the two instances are not equal; otherwise, . - - - - Determines if one instance is greater than another. - - One instance to compare. - The other instance to compare. - if the first instance is greater than the second; otherwise, . - - - - Determines if one instance is less than another. - - One instance to compare. - The other instance to compare. - if the first instance is less than the second; otherwise, . - - - - 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 value that indicates the relative order of the objects being compared. The return value has these meanings: - - ValueMeaning - Less than zeroThis instance precedes in the sort order. - ZeroThis instance occurs in the same position in the sort order as . - Greater than zeroThis instance follows in the sort order. - - - - - - Determines whether the specified Object is equal - to the current Object. - - The Object to compare with the - current Object. - if the specified Object - is equal to the current Object; otherwise, - . - - - - Serves as a hash function for a particular type. - - A hash code for the current Object. - - - - Gets or sets the method used to look up the element - - - - - Gets or sets the value to lookup by (i.e. for How.Name, the actual name to look up) - - - - - Gets or sets a value indicating where this attribute should be evaluated relative to other instances - of this attribute decorating the same class member. - - - - - Gets or sets a value indicating the of the custom finder. The custom finder must - descend from the class, and expose a public constructor that takes a - argument. - - - - - Gets or sets an explicit object to find by. - Setting this property takes precedence over setting the How or Using properties. - - - - - Marks elements to indicate that each on the field or - property should be used in sequence to find the appropriate element. - - - - When used with a set of , the criteria are used - in sequence according to the Priority property to find child elements. Note that - the behavior when setting multiple Priority - properties to the same value, or not specifying a Priority value, is undefined. - - - - // Will find the element with the ID attribute matching "elementId", then will find - // a child element with the ID attribute matching "childElementId". - [FindsBySequence] - [FindsBy(How = How.Id, Using = "elementId", Priority = 0)] - [FindsBy(How = How.Id, Using = "childElementId", Priority = 1)] - public IWebElement thisElement; - - - - - - - Provides the lookup methods for the FindsBy attribute (for using in PageObjects) - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by - - - - - Finds by a custom implementation. - - - - - Provides the ability to produce Page Objects modeling a page. This class cannot be inherited. - - - - - Initializes a new instance of the class. - Private constructor prevents a default instance from being created. - - - - - Initializes the elements in the Page Object with the given type. - - The of the Page Object class. - The instance used to populate the page. - An instance of the Page Object class with the elements initialized. - - The class used in the argument must have a public constructor - that takes a single argument of type . This helps to enforce - best practices of the Page Object pattern, and encapsulates the driver into the Page - Object so that it can have no external WebDriver dependencies. - - - thrown if no constructor to the class can be found with a single IWebDriver argument - -or- - if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - Initializes the elements in the Page Object with the given type. - - The of the Page Object class. - The implementation that - determines how elements are located. - An instance of the Page Object class with the elements initialized. - - The class used in the argument must have a public constructor - that takes a single argument of type . This helps to enforce - best practices of the Page Object pattern, and encapsulates the driver into the Page - Object so that it can have no external WebDriver dependencies. - - - thrown if no constructor to the class can be found with a single IWebDriver argument - -or- - if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - Initializes the elements in the Page Object. - - The driver used to find elements on the page. - The Page Object to be populated with elements. - - thrown if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - Initializes the elements in the Page Object. - - The driver used to find elements on the page. - The Page Object to be populated with elements. - The implementation that - determines how Page Object members representing elements are discovered and populated. - - thrown if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - Initializes the elements in the Page Object. - - The Page Object to be populated with elements. - The implementation that - determines how elements are located. - - thrown if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - Initializes the elements in the Page Object. - - The Page Object to be populated with elements. - The implementation that - determines how elements are located. - The implementation that - determines how Page Object members representing elements are discovered and populated. - - thrown if a field or property decorated with the is not of type - or IList{IWebElement}. - - - - - A locator for elements for use with the that retries locating - the element up to a timeout if the element is not found. - - - - - Initializes a new instance of the class. - - The object that the - locator uses for locating elements. - - - - Initializes a new instance of the class. - - The object that the - locator uses for locating elements. - The indicating how long the locator should - retry before timing out. - - - - Initializes a new instance of the class. - - The object that the - locator uses for locating elements. - The indicating how long the locator should - retry before timing out. - The indicating how often to poll - for the existence of the element. - - - - Locates an element using the given list of criteria. - - The list of methods by which to search for the element. - An which is the first match under the desired criteria. - - - - Locates a list of elements using the given list of criteria. - - The list of methods by which to search for the elements. - A list of all elements which match the desired criteria. - - - - Gets the to be used in locating elements. - - - - - Represents a base proxy class for objects used with the PageFactory. - - - - - Initializes a new instance of the class. - - The of object for which to create a proxy. - The implementation that - determines how elements are located. - The list of methods by which to search for the elements. - to cache the lookup to the element; otherwise, . - - - - Invokes a method on the object this proxy represents. - - Message containing the parameters of the method being invoked. - The object this proxy represents. - The instance as a result of method invocation on the - object which this proxy represents. - - - - Gets the implementation that determines how elements are located. - - - - - Gets the list of methods by which to search for the elements. - - - - - Gets a value indicating whether element search results should be cached. - - - - - Represents a proxy class for a list of elements to be used with the PageFactory. - - - - - Initializes a new instance of the class. - - The of object for which to create a proxy. - The implementation that - determines how elements are located. - The list of methods by which to search for the elements. - to cache the lookup to the element; otherwise, . - - - - Creates an object used to proxy calls to properties and methods of the - list of objects. - - The of object for which to create a proxy. - The implementation that - determines how elements are located. - The list of methods by which to search for the elements. - to cache the lookup to the - element; otherwise, . - An object used to proxy calls to properties and methods of the - list of objects. - - - - Invokes the method that is specified in the provided on the - object that is represented by the current instance. - - An that contains an of - information about the method call. - The message returned by the invoked method, containing the return value and any - out or ref parameters. - - - - Gets the list of IWebElement objects this proxy represents, returning a cached one if requested. - - - - - Intercepts the request to a single - - - - - Initializes a new instance of the class. - - The of object for which to create a proxy. - The implementation that determines - how elements are located. - The list of methods by which to search for the elements. - to cache the lookup to the element; otherwise, . - - - - Creates an object used to proxy calls to properties and methods of an object. - - The of object for which to create a proxy. - The implementation that - determines how elements are located. - The list of methods by which to search for the elements. - to cache the lookup to the element; otherwise, . - An object used to proxy calls to properties and methods of the list of objects. - - - - Invokes the method that is specified in the provided on the - object that is represented by the current instance. - - An that contains a dictionary of - information about the method call. - The message returned by the invoked method, containing the return value and any - out or ref parameters. - - - - Gets the wrapped by this object. - - - - - Gets the IWebElement object this proxy represents, returning a cached one if requested. - - - - - An implementation of the interface that may have its timeout and polling interval - configured on the fly. - - The type of object on which the wait it to be applied. - - - - Interface describing a class designed to wait for a condition. - - The type of object used to detect the condition. - - - - Configures this instance to ignore specific types of exceptions while waiting for a condition. - Any exceptions not whitelisted will be allowed to propagate, terminating the wait. - - The types of exceptions to ignore. - - - - Waits until a condition is true or times out. - - The type of result to expect from the condition. - A delegate taking a TSource as its parameter, and returning a TResult. - If TResult is a boolean, the method returns when the condition is true, and otherwise. - If TResult is an object, the method returns the object when the condition evaluates to a value other than . - Thrown when TResult is not boolean or an object type. - - - - Gets or sets how long to wait for the evaluated condition to be true. - - - - - Gets or sets how often the condition should be evaluated. - - - - - Gets or sets the message to be displayed when time expires. - - - - - Initializes a new instance of the class. - - The input value to pass to the evaluated conditions. - - - - Initializes a new instance of the class. - - The input value to pass to the evaluated conditions. - The clock to use when measuring the timeout. - - - - Configures this instance to ignore specific types of exceptions while waiting for a condition. - Any exceptions not whitelisted will be allowed to propagate, terminating the wait. - - The types of exceptions to ignore. - - - - Repeatedly applies this instance's input value to the given function until one of the following - occurs: - - - the function returns neither null nor false - the function throws an exception that is not in the list of ignored exception types - the timeout expires - - - - The delegate's expected return type. - A delegate taking an object of type T as its parameter, and returning a TResult. - The delegate's return value. - - - - Throws a with the given message. - - The message of the exception. - The last exception thrown by the condition. - This method may be overridden to throw an exception that is - idiomatic for a particular test infrastructure. - - - - Gets or sets how long to wait for the evaluated condition to be true. The default timeout is 500 milliseconds. - - - - - Gets or sets how often the condition should be evaluated. The default timeout is 500 milliseconds. - - - - - Gets or sets the message to be displayed when time expires. - - - - - Supplies a set of common conditions that can be waited for using . - - - - IWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(3)) - IWebElement element = wait.Until(ExpectedConditions.ElementExists(By.Id("foo"))); - - - - - - Prevents a default instance of the class from being created. - - - - - An expectation for checking the title of a page. - - The expected title, which must be an exact match. - when the title matches; otherwise, . - - - - An expectation for checking that the title of a page contains a case-sensitive substring. - - The fragment of title expected. - when the title matches; otherwise, . - - - - An expectation for the URL of the current page to be a specific URL. - - The URL that the page should be on - when the URL is what it should be; otherwise, . - - - - An expectation for the URL of the current page to be a specific URL. - - The fraction of the url that the page should be on - when the URL contains the text; otherwise, . - - - - An expectation for the URL of the current page to be a specific URL. - - The regular expression that the URL should match - if the URL matches the specified regular expression; otherwise, . - - - - An expectation for checking that an element is present on the DOM of a - page. This does not necessarily mean that the element is visible. - - The locator used to find the element. - The once it is located. - - - - An expectation for checking that an element is present on the DOM of a page - and visible. Visibility means that the element is not only displayed but - also has a height and width that is greater than 0. - - The locator used to find the element. - The once it is located and visible. - - - - An expectation for checking that all elements present on the web page that - match the locator are visible. Visibility means that the elements are not - only displayed but also have a height and width that is greater than 0. - - The locator used to find the element. - The list of once it is located and visible. - - - - An expectation for checking that all elements present on the web page that - match the locator are visible. Visibility means that the elements are not - only displayed but also have a height and width that is greater than 0. - - list of WebElements - The list of once it is located and visible. - - - - An expectation for checking that all elements present on the web page that - match the locator. - - The locator used to find the element. - The list of once it is located. - - - - An expectation for checking if the given text is present in the specified element. - - The WebElement - Text to be present in the element - once the element contains the given text; otherwise, . - - - - An expectation for checking if the given text is present in the element that matches the given locator. - - The locator used to find the element. - Text to be present in the element - once the element contains the given text; otherwise, . - - - - An expectation for checking if the given text is present in the specified elements value attribute. - - The WebElement - Text to be present in the element - once the element contains the given text; otherwise, . - - - - An expectation for checking if the given text is present in the specified elements value attribute. - - The locator used to find the element. - Text to be present in the element - once the element contains the given text; otherwise, . - - - - An expectation for checking whether the given frame is available to switch - to. If the frame is available it switches the given driver to the - specified frame. - - Used to find the frame (id or name) - - - - - An expectation for checking whether the given frame is available to switch - to. If the frame is available it switches the given driver to the - specified frame. - - Locator for the Frame - - - - - An expectation for checking that an element is either invisible or not present on the DOM. - - The locator used to find the element. - if the element is not displayed; otherwise, . - - - - An expectation for checking that an element with text is either invisible or not present on the DOM. - - The locator used to find the element. - Text of the element - if the element is not displayed; otherwise, . - - - - An expectation for checking an element is visible and enabled such that you - can click it. - - The locator used to find the element. - The once it is located and clickable (visible and enabled). - - - - An expectation for checking an element is visible and enabled such that you - can click it. - - The element. - The once it is clickable (visible and enabled). - - - - Wait until an element is no longer attached to the DOM. - - The element. - is the element is still attached to the DOM; otherwise, . - - - - An expectation for checking if the given element is selected. - - The element. - given element is selected.; otherwise, . - - - - An expectation for checking if the given element is selected. - - The element. - selected or not selected - given element is selected.; otherwise, . - - - - An expectation for checking if the given element is in correct state. - - The element. - selected or not selected - given element is in correct state.; otherwise, . - - - - An expectation for checking if the given element is selected. - - The locator used to find the element. - given element is selected.; otherwise, . - - - - An expectation for checking if the given element is in correct state. - - The locator used to find the element. - selected or not selected - given element is in correct state.; otherwise, . - - - - An expectation for checking the AlterIsPresent - - Alert - - - - An expectation for checking the Alert State - - A value indicating whether or not an alert should be displayed in order to meet this condition. - alert is in correct state present or not present; otherwise, . - - - - An interface describing time handling functions for timeouts. - - - - - Gets the at a specified offset in the future. - - The offset to use. - The at the specified offset in the future. - - - - Gets a value indicating whether the current date and time is before the specified date and time. - - The date and time values to compare the current date and time values to. - if the current date and time is before the specified date and time; otherwise, . - - - - Gets the current date and time values. - - - - - Interface allows for the component to be used in Nested Component scenarios such that the - child component class does not have to declare the generic type of the parent explicitly. - - - public class HypotheticalLoadableComponent : LoadableComponent<T> { - ILoadableComponent parent; - public HypotheticalLoadableComponent(ILoadableComponent parent) { - this.parent = parent; - } - protected void EvaluateLoadedStatus() { //code to determine loaded state } - protected void ExecuteLoad() { - parent.Load(); //loads the parent - //code to load this component - } - } - - - - - Loads the component. - - A reference to this . - - - - This exception is thrown by to indicate that - the component was not successfully loaded. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message of 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Represents any abstraction of something that can be loaded. This may be an entire web page, or - simply a component within that page (such as a login box or menu) or even a service. - - The type to be returned (normally the subclass' type) - - The expected usage is: - - - new HypotheticalComponent().Load(); - - - - - After the method is called, the component will be loaded and - ready for use. Overload the protected Load and IsLoaded members to both load a component and determine - if the component is already loaded. - - - - - Ensure that the component is currently loaded. - - The loaded component. - This is equivalent to the Get() method in Java version. - - - - Ensure that the component is currently loaded. - - The loaded instance. - - - - HandleLoadError gives a subclass the opportunity to handle a that occurred - during the execution of . - - The exception which occurs on load. - - - - When this method returns, the component modeled by the subclass should be fully loaded. This - subclass is expected to navigate to an appropriate page or trigger loading the correct HTML - should this be necessary. - - - - - Determine whether or not the component is loaded. Subclasses are expected to provide the details - to determine if the page or component is loaded. - - A boolean value indicating if the component is loaded. - - - - Attempts to load this component, providing an opportunity for the user to handle any errors encountered - during the load process. - - A self-reference to this - - - - Gets or sets the message for the exception thrown when a component cannot be loaded - - - - - Gets a value indicating whether the component is fully loaded. - - - When the component is loaded, this property will return true or false depending on - the execution of to indicate the not loaded state. - - - - - Provides a mechanism by which the window handle of an invoked - popup browser window may be determined. - - - - // Store the current window handle so you can switch back to the - // original window when you close the popup. - string current = driver.CurrentWindowHandle; - PopupWindowFinder finder = new PopupWindowFinder(driver); - string newHandle = finder.Click(driver.FindElement(By.LinkText("Open new window"))); - driver.SwitchTo.Window(newHandle); - - - - - - Initializes a new instance of the class. - - The instance that is used - to manipulate the popup window. - When using this constructor overload, the timeout will be 5 seconds, - and the check for a new window will be performed every 250 milliseconds. - - - - Initializes a new instance of the class - with the specified timeout. - - The instance that is used - to manipulate the popup window. - The representing the amount of - time to wait for the popup window to appear. - When using this constructor overload, the check for a new window - will be performed every 250 milliseconds. - - - - Initializes a new instance of the class - with the specified timeout and using the specified interval to check for - the existence of the new window. - - The instance that is used - to manipulate the popup window. - The representing the amount of - time to wait for the popup window to appear. - The representing the - amount of time to wait between checks of the available window handles. - - - - Clicks on an element that is expected to trigger a popup browser window. - - The that, when clicked, invokes - the popup browser window. - The window handle of the popup browser window. - Thrown if no popup window appears within the specified timeout. - Thrown if the element to click is . - - - - Invokes a method that is expected to trigger a popup browser window. - - An that, when run, invokes - the popup browser window. - The window handle of the popup browser window. - Thrown if no popup window appears within the specified timeout. - Thrown if the action to invoke is . - - - - Provides a convenience method for manipulating selections of options in an HTML select element. - - - - - Initializes a new instance of the class. - - The element to be wrapped - Thrown when the object is - Thrown when the element wrapped is not a <select> element. - - - - Select all options by the text displayed. - - The text of the option to be selected. If an exact match is not found, - this method will perform a substring match. - When given "Bar" this method would select an option like: - - <option value="foo">Bar</option> - - - Thrown if there is no element with the given text present. - - - - Select an option by the value. - - The value of the option to be selected. - When given "foo" this method will select an option like: - - <option value="foo">Bar</option> - - - Thrown when no element with the specified value is found. - - - - Select the option by the index, as determined by the "index" attribute of the element. - - The value of the index attribute of the option to be selected. - Thrown when no element exists with the specified index attribute. - - - - Clear all selected entries. This is only valid when the SELECT supports multiple selections. - - Thrown when attempting to deselect all options from a SELECT - that does not support multiple selections. - - - - Deselect the option by the text displayed. - - Thrown when attempting to deselect option from a SELECT - that does not support multiple selections. - Thrown when no element exists with the specified test attribute. - The text of the option to be deselected. - When given "Bar" this method would deselect an option like: - - <option value="foo">Bar</option> - - - - - - Deselect the option having value matching the specified text. - - Thrown when attempting to deselect option from a SELECT - that does not support multiple selections. - Thrown when no element exists with the specified value attribute. - The value of the option to deselect. - When given "foo" this method will deselect an option like: - - <option value="foo">Bar</option> - - - - - - Deselect the option by the index, as determined by the "index" attribute of the element. - - Thrown when attempting to deselect option from a SELECT - that does not support multiple selections. - Thrown when no element exists with the specified index attribute. - The value of the index attribute of the option to deselect. - - - - Gets the wrapped by this object. - - - - - Gets a value indicating whether the parent element supports multiple selections. - - - - - Gets the list of options for the select element. - - - - - Gets the selected item within the select element. - - If more than one item is selected this will return the first item. - Thrown if no option is selected. - - - - Gets all of the selected options within the select element. - - - - - A which might not have finished loading when Load() returns. After a - call to Load(), the IsLoaded property should continue to return false until the component has fully - loaded. Use the HandleErrors() method to check for error conditions which caused the Load() to fail. - -
-            new SlowHypotheticalComponent().Load();
-            
-
-
- The type to be returned (normally the subclass' type) -
- - - Initializes a new instance of the class. - - The within which the component should be loaded. - - - - Initializes a new instance of the class. - - The within which the component should be loaded. - The to use when measuring the timeout. - - - - Ensures that the component is currently loaded. - - The loaded component. - This is equivalent to the Get() method in Java version. - - - - Checks for well known error cases, which would mean that loading has finished, but an error - condition was seen. - - - This method should be overridden so that expected errors can be automatically handled. - - - - - Gets or sets the time to sleep between each check of the load status of the component. - - - - - Uses the system clock to calculate time for timeouts. - - - - - Calculates the date and time values after a specific delay. - - The delay after to calculate. - The future date and time values. - - - - Gets a value indicating whether the current date and time is before the specified date and time. - - The date and time values to compare the current date and time values to. - if the current date and time is before the specified date and time; otherwise, . - - - - Gets the current date and time values. - - - - - The exception thrown when using the Select class on a tag that - does not support the HTML select element's selection semantics. - - - - - Initializes a new instance of the class with - the expected tag name and the actual tag name. - - The tag name that was expected. - The actual tag name of the element. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message of 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Provides the ability to wait for an arbitrary condition during test execution. - - - - IWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(3)) - IWebElement element = wait.Until(driver => driver.FindElement(By.Name("q"))); - - - - - - Initializes a new instance of the class. - - The WebDriver instance used to wait. - The timeout value indicating how long to wait for the condition. - - - - Initializes a new instance of the class. - - An object implementing the interface used to determine when time has passed. - The WebDriver instance used to wait. - The timeout value indicating how long to wait for the condition. - A value indicating how often to check for the condition to be true. - -
-
diff --git a/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/Selenium.WebDriver.2.53.0.nupkg b/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/Selenium.WebDriver.2.53.0.nupkg deleted file mode 100644 index 94da0bc..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/Selenium.WebDriver.2.53.0.nupkg and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net35/WebDriver.dll b/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net35/WebDriver.dll deleted file mode 100644 index eff4dec..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net35/WebDriver.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net35/WebDriver.xml b/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net35/WebDriver.xml deleted file mode 100644 index 488e415..0000000 --- a/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net35/WebDriver.xml +++ /dev/null @@ -1,20286 +0,0 @@ - - - - WebDriver - - - - - Provides a mechanism by which to find elements within a document. - - It is possible to create your own locating mechanisms for finding documents. - In order to do this,subclass this class and override the protected methods. However, - it is expected that that all subclasses rely on the basic finding mechanisms provided - through static methods of this class. An example of this can be found in OpenQA.Support.ByIdOrName - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the given functions to find elements. - - A function that takes an object implementing - and returns the found . - A function that takes an object implementing - and returns a of the foundIWebElements. - IWebElements/>. - - - - Determines if two instances are equal. - - One instance to compare. - The other instance to compare. - - if the two instances are equal; otherwise, . - - - - Determines if two instances are unequal. - s - One instance to compare.The other instance to compare. if the two instances are not equal; otherwise, . - - - Gets a mechanism to find elements by their ID. - - The ID to find. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by their link text. - - The link text to find. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by their name. - - The name to find. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by an XPath query. - When searching within a WebElement using xpath be aware that WebDriver follows standard conventions: - a search prefixed with "//" will search the entire document, not just the children of this current node. - Use ".//" to limit your search to the children of this WebElement. - - The XPath query to use. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by their CSS class. - - The CSS class to find. - A object the driver can use to find the elements. - If an element has many classes then this will match against each of them. - For example if the value is "one two onone", then the following values for the - className parameter will match: "one" and "two". - - - - Gets a mechanism to find elements by a partial match on their link text. - - The partial link text to find. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by their tag name. - - The tag name to find. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by their cascading style sheet (CSS) selector. - - The CSS selector to find. - A object the driver can use to find the elements. - - - - Finds the first element matching the criteria. - - An object to use to search for the elements. - The first matching on the current context. - - - - Finds all elements matching the criteria. - - An object to use to search for the elements. - A of all WebElements - matching the current criteria, or an empty list if nothing matches. - - - - Gets a string representation of the finder. - - The string displaying the finder content. - - - - Determines whether the specified Object is equal - to the current Object. - - The Object to compare with the - current Object. - - if the specified Object - is equal to the current Object; otherwise, - . - - - - Serves as a hash function for a particular type. - - A hash code for the current Object. - - - - Gets or sets the value of the description for this class instance. - - - - - Gets or sets the method used to find a single element matching specified criteria. - - - - - Gets or sets the method used to find all elements matching specified criteria. - - - - - Represents a cookie in the browser. - - - - - Initializes a new instance of the class with a specific name, - value, domain, path and expiration date. - - The name of the cookie. - The value of the cookie. - The domain of the cookie. - The path of the cookie. - The expiration date of the cookie. - If the name is or an empty string, - or if it contains a semi-colon. - If the value is . - - - - Initializes a new instance of the class with a specific name, - value, path and expiration date. - - The name of the cookie. - The value of the cookie. - The path of the cookie. - The expiration date of the cookie. - If the name is or an empty string, - or if it contains a semi-colon. - If the value is . - - - - Initializes a new instance of the class with a specific name, - value, and path. - - The name of the cookie. - The value of the cookie. - The path of the cookie. - If the name is or an empty string, - or if it contains a semi-colon. - If the value is . - - - - Initializes a new instance of the class with a specific name and value. - - The name of the cookie. - The value of the cookie. - If the name is or an empty string, - or if it contains a semi-colon. - If the value is . - - - - Converts a Dictionary to a Cookie. - - The Dictionary object containing the cookie parameters. - A object with the proper parameters set. - - - - Creates and returns a string representation of the cookie. - - A string representation of the cookie. - - - - Determines whether the specified Object is equal - to the current Object. - - The Object to compare with the - current Object. - - if the specified Object - is equal to the current Object; otherwise, - . - - - - Serves as a hash function for a particular type. - - A hash code for the current Object. - - - - Gets the name of the cookie. - - - - - Gets the value of the cookie. - - - - - Gets the domain of the cookie. - - - - - Gets the path of the cookie. - - - - - Gets a value indicating whether the cookie is secure. - - - - - Gets a value indicating whether the cookie is an HTTP-only cookie. - - - - - Gets the expiration date of the cookie. - - - - - Gets the cookie expiration date in seconds from the defined zero date (01 January 1970 00:00:00 UTC). - - This property only exists so that the JSON serializer can serialize a - cookie without resorting to a custom converter. - - - - Defines an object responsible for detecting sequences of keystrokes - representing file paths and names. - - - - - Returns a value indicating whether a specified key sequence represents - a file name and path. - - The sequence to test for file existence. - - if the key sequence represents a file; otherwise, . - - - - Represents the default file detector for determining whether a file - must be uploaded to a remote server. - - - - - Returns a value indicating whether a specified key sequence represents - a file name and path. - - The sequence to test for file existence. - This method always returns in this implementation. - - - - Base class for managing options specific to a browser driver. - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the specific browser driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling - where has already been added will overwrite the - existing value with the new value in . - - - - - Returns DesiredCapabilities for the specific browser driver with these - options included ascapabilities. This does not copy the options. Further - changes will be reflected in the returned capabilities. - - The DesiredCapabilities for browser driver with these options. - - - - Sets the logging preferences for this driver. - - The type of log for which to set the preference. - Known log types can be found in the class. - The value to which to set the log level. - - - - Generates the logging preferences dictionary for transmission as a desired capability. - - The dictionary containing the logging preferences. - - - - Provides a way to start a server that understands remote commands - - - - - Starts the server. - - - - - Exposes the service provided by a native WebDriver server executable. - - - - - Initializes a new instance of the class. - - The full path to the directory containing the executable providing the service to drive the browser. - The port on which the driver executable should listen. - The file name of the driver service executable. - A URL at which the driver service executable may be downloaded. - - If the path specified is or an empty string. - - - If the specified driver service executable does not exist in the specified directory. - - - - - Releases all resources associated with this . - - - - - Starts the DriverService. - - - - - Finds the specified driver service executable. - - The file name of the executable to find. - A URL at which the driver service executable may be downloaded. - The directory containing the driver service executable. - - If the specified driver service executable does not exist in the current directory or in a directory on the system path. - - - - - Releases all resources associated with this . - - - if the Dispose method was explicitly called; otherwise, . - - - - Stops the DriverService. - - - - - Waits until a the service is initialized, or the timeout set - by the property is reached. - - - if the service is properly started and receiving HTTP requests; - otherwise; . - - - - Gets the Uri of the service. - - - - - Gets or sets the port of the service. - - - - - Gets or sets a value indicating whether the initial diagnostic information is suppressed - when starting the driver server executable. Defaults to , meaning - diagnostic information should be shown by the driver server executable. - - - - - Gets a value indicating whether the service is running. - - - - - Gets or sets a value indicating whether the command prompt window of the service should be hidden. - - - - - Gets the process ID of the running driver service executable. Returns 0 if the process is not running. - - - - - Gets the executable file name of the driver service. - - - - - Gets the command-line arguments for the driver service. - - - - - Gets a value indicating the time to wait for an initial connection before timing out. - - - - - Gets a value indicating the time to wait for the service to terminate before forcing it to terminate. - - - - - Gets a value indicating whether the service is responding to HTTP requests. - - - - - Represents exceptions that are thrown when an error occurs during actions. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an element is not visible. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an element is not visible. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Defines the interface through which the user can manipulate JavaScript alerts. - - - - - Dismisses the alert. - - - - - Accepts the alert. - - - - - Sends keys to the alert. - - The keystrokes to send. - - - - Sets the user name and password in an alert prompting for credentials. - - The user name to set. - The password to set. - - - - Gets the text of the alert. - - - - - Interface determining whether the driver implementation allows detection of files - when sending keystrokes to a file upload element. - - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - - - - Capabilities of the browser that you are going to use - - - - - Gets a value indicating whether the browser has a given capability. - - The capability to get. - Returns if the browser has the capability; otherwise, . - - - - Gets a capability of the browser. - - The capability to get. - An object associated with the capability, or - if the capability is not set on the browser. - - - - Gets the browser name - - - - - Gets the platform - - - - - Gets the browser version - - - - - Gets a value indicating whether the browser is JavaScript enabled - - - - - Defines an interface allowing the user to manipulate cookies on the current page. - - - - - Adds a cookie to the current page. - - The object to be added. - - - - Gets a cookie with the specified name. - - The name of the cookie to retrieve. - The containing the name. Returns - if no cookie with the specified name is found. - - - - Deletes the specified cookie from the page. - - The to be deleted. - - - - Deletes the cookie with the specified name from the page. - - The name of the cookie to be deleted. - - - - Deletes all cookies from the page. - - - - - Gets all cookies defined for the current page. - - - - - Defines the interface through which the user can determine the capabilities of a driver. - - - - - Gets the object describing the driver's capabilities. - - - - - Provides access to input devices for advanced user interactions. - - - - - Gets an object for sending keystrokes to the browser. - - - - - Gets an object for sending mouse commands to the browser. - - - - - Interface implemented by each driver that allows access to touch screen capabilities. - - - - - Gets the device representing the touch screen. - - - - - Defines the interface through which the user can execute JavaScript. - - - - - Executes JavaScript in the context of the currently selected frame or window. - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - The method executes JavaScript in the context of - the currently selected frame or window. This means that "document" will refer - to the current document. If the script has a return value, then the following - steps will be taken: - - - - - For an HTML element, this method returns a - - - For a number, a is returned - - - For a boolean, a is returned - - - For all other cases a is returned. - - - For an array,we check the first element, and attempt to return a - of that type, following the rules above. Nested lists are not - supported. - - - If the value is null or there is no return value, - is returned. - - - - - Arguments must be a number (which will be converted to a ), - a , a or a . - An exception will be thrown if the arguments do not meet these criteria. - The arguments will be made available to the JavaScript via the "arguments" magic - variable, as if the function were called via "Function.apply" - - - - - - Executes JavaScript asynchronously in the context of the currently selected frame or window. - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - - Provides methods representing basic keyboard actions. - - - - - Sends a sequence of keystrokes to the target. - - A string representing the keystrokes to send. - - - - Presses a key. - - The key value representing the key to press. - The key value must be one of the values from the class. - - - - Releases a key. - - The key value representing the key to release. - The key value must be one of the values from the class. - - - - Defines the interface through which the user can discover where an element is on the screen. - - - - - Gets the location of an element on the screen, scrolling it into view - if it is not currently on the screen. - - - - - Gets the coordinates identifying the location of this element using - various frames of reference. - - - - - Interface allowing handling of driver logs. - - - - - Gets the set of objects for a specified log. - - The log for which to retrieve the log entries. - Log types can be found in the class. - The list of objects for the specified log. - - - - Gets the list of available log types for this driver. - - - - - Provides methods representing basic mouse actions. - - - - - Clicks at a set of coordinates using the primary mouse button. - - An describing where to click. - - - - Double-clicks at a set of coordinates. - - A describing where to double-click. - - - - Presses the primary mouse button at a set of coordinates. - - A describing where to press the mouse button down. - - - - Releases the primary mouse button at a set of coordinates. - - A describing where to release the mouse button. - - - - Moves the mouse to the specified set of coordinates. - - A describing where to move the mouse to. - - - - Moves the mouse to the specified set of coordinates. - - A describing where to click. - A horizontal offset from the coordinates specified in . - A vertical offset from the coordinates specified in . - - - - Clicks at a set of coordinates using the secondary mouse button. - - A describing where to click. - - - - Defines an interface allowing the user to access the browser's history and to - navigate to a given URL. - - - - - Move back a single entry in the browser's history. - - - - - Move a single "item" forward in the browser's history. - - Does nothing if we are on the latest page viewed. - - - - Load a new web page in the current browser window. - - The URL to load. It is best to use a fully qualified URL - - Calling the method will load a new web page in the current browser window. - This is done using an HTTP GET operation, and the method will block until the - load is complete. This will follow redirects issued either by the server or - as a meta-redirect from within the returned HTML. Should a meta-redirect "rest" - for any duration of time, it is best to wait until this timeout is over, since - should the underlying page change while your test is executing the results of - future calls against this interface will be against the freshly loaded page. - - - - - Load a new web page in the current browser window. - - The URL to load. - - Calling the method will load a new web page in the current browser window. - This is done using an HTTP GET operation, and the method will block until the - load is complete. This will follow redirects issued either by the server or - as a meta-redirect from within the returned HTML. Should a meta-redirect "rest" - for any duration of time, it is best to wait until this timeout is over, since - should the underlying page change while your test is executing the results of - future calls against this interface will be against the freshly loaded page. - - - - - Refreshes the current page. - - - - - The exception that is thrown when the users attempts to set a cookie with an invalid domain. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when a reference to an element is no longer valid. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an item is not found. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an element is not found. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an element is not visible. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Defines an interface allowing the user to set options on the browser. - - - - - Provides access to the timeouts defined for this driver. - - An object implementing the interface. - - - - Gets an object allowing the user to manipulate cookies on the page. - - - - - Gets an object allowing the user to manipulate the currently-focused browser window. - - "Currently-focused" is defined as the browser window having the window handle - returned when IWebDriver.CurrentWindowHandle is called. - - - - Gets an object allowing the user to examing the logs for this driver instance. - - - - - Represents rotation of the browser view for orientation-sensitive devices. - When using this with a real device, the device should not be moved so that - the built-in sensors do not interfere. - - - - - Gets or sets the screen orientation of the browser on the device. - - - - - Defines the interface used to search for elements. - - - - - Finds the first using the given method. - - The locating mechanism to use. - The first matching on the current context. - If no element matches the criteria. - - - - Finds all IWebElements within the current context - using the given mechanism. - - The locating mechanism to use. - A of all WebElements - matching the current criteria, or an empty list if nothing matches. - - - - Defines the interface used to take screen shot images of the screen. - - - - - Gets a object representing the image of the page on the screen. - - A object containing the image. - - - - Defines the interface through which the user can locate a given frame or window. - - - - - Select a frame by its (zero-based) index. - - The zero-based index of the frame to select. - An instance focused on the specified frame. - If the frame cannot be found. - - - - Select a frame by its name or ID. - - The name of the frame to select. - An instance focused on the specified frame. - If the frame cannot be found. - - - - Select a frame using its previously located - The frame element to switch to. - An instance focused on the specified frame. - If the element is neither a FRAME nor an IFRAME element. - If the element is no longer valid. - - - - Select the parent frame of the currently selected frame. - - An instance focused on the specified frame. - - - - Switches the focus of future commands for this driver to the window with the given name. - - The name of the window to select. - An instance focused on the given window. - If the window cannot be found. - - - - Selects either the first frame on the page or the main document when a page contains iFrames. - - An instance focused on the default frame. - - - - Switches to the element that currently has the focus, or the body element - if no element with focus can be detected. - - An instance representing the element - with the focus, or the body element if no element with focus can be detected. - - - - Switches to the currently active modal dialog for this particular driver instance. - - A handle to the dialog. - - - - Defines the interface through which the user can define timeouts. - - - - - Specifies the amount of time the driver should wait when searching for an - element if it is not immediately present. - - A structure defining the amount of time to wait. - A self reference - - When searching for a single element, the driver should poll the page - until the element has been found, or this timeout expires before throwing - a . When searching for multiple elements, - the driver should poll the page until at least one element has been found - or this timeout has expired. - - Increasing the implicit wait timeout should be used judiciously as it - will have an adverse effect on test run time, especially when used with - slower location strategies like XPath. - - - - - Specifies the amount of time the driver should wait when executing JavaScript asynchronously. - - A structure defining the amount of time to wait. - Setting this parameter to will allow the script to run indefinitely. - A self reference - - - - Specifies the amount of time the driver should wait for a page to load when setting the property. - - A structure defining the amount of time to wait. - Setting this parameter to will allow the page to load indefinitely. - A self reference - - - - Interface representing basic touch screen operations. - - - - - Allows the execution of single tap on the screen, analogous to click using a Mouse. - - The object representing the location on the screen, - usually an . - - - - Allows the execution of the gesture 'down' on the screen. It is typically the first of a - sequence of touch gestures. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Allows the execution of the gesture 'up' on the screen. It is typically the last of a - sequence of touch gestures. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Allows the execution of the gesture 'move' on the screen. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Creates a scroll gesture that starts on a particular screen location. - - The object representing the location on the screen - where the scroll starts, usually an . - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Creates a scroll gesture for a particular x and y offset. - - The horizontal offset relative to the view port. - The vertical offset relative to the view port. - - - - Allows the execution of double tap on the screen, analogous to click using a Mouse. - - The object representing the location on the screen, - usually an . - - - - Allows the execution of a long press gesture on the screen. - - The object representing the location on the screen, - usually an . - - - - Creates a flick gesture for the current view. - - The horizontal speed in pixels per second. - The vertical speed in pixels per second. - - - - Creates a flick gesture for the current view starting at a specific location. - - The object representing the location on the screen - where the scroll starts, usually an . - The x offset relative to the viewport. - The y offset relative to the viewport. - The speed in pixels per second. - - - - Defines the interface through which the user controls the browser. - - - The interface is the main interface to use for testing, which - represents an idealized web browser. The methods in this class fall into three categories: - Control of the browser itselfSelection of IWebElementsDebugging aids - Key properties and methods are , which is used to - load a new web page by setting the property, and the various methods similar - to , which is used to find IWebElements. - - You use the interface by instantiate drivers that implement of this interface. - You should write your tests against this interface so that you may "swap in" a - more fully featured browser when there is a requirement for one. - - - - - Close the current window, quitting the browser if it is the last window currently open. - - - - - Quits this driver, closing every associated window. - - - - - Instructs the driver to change its settings. - - An object allowing the user to change - the settings of the driver. - - - - Instructs the driver to navigate the browser to another location. - - An object allowing the user to access - the browser's history and to navigate to a given URL. - - - - Instructs the driver to send future commands to a different frame or window. - - An object which can be used to select - a frame or window. - - - - Gets or sets the URL the browser is currently displaying. - - - Setting the property will load a new web page in the current browser window. - This is done using an HTTP GET operation, and the method will block until the - load is complete. This will follow redirects issued either by the server or - as a meta-redirect from within the returned HTML. Should a meta-redirect "rest" - for any duration of time, it is best to wait until this timeout is over, since - should the underlying page change while your test is executing the results of - future calls against this interface will be against the freshly loaded page. - - - - - - - Gets the title of the current browser window. - - - - - Gets the source of the page last loaded by the browser. - - - If the page has been modified after loading (for example, by JavaScript) - there is no guarantee that the returned text is that of the modified page. - Please consult the documentation of the particular driver being used to - determine whether the returned text reflects the current state of the page - or the text last sent by the web server. The page source returned is a - representation of the underlying DOM: do not expect it to be formatted - or escaped in the same way as the response sent from the web server. - - - - - Gets the current window handle, which is an opaque handle to this - window that uniquely identifies it within this driver instance. - - - - - Gets the window handles of open browser windows. - - - - - Defines the interface through which the user controls elements on the page. - - The interface represents an HTML element. - Generally, all interesting operations to do with interacting with a page will - be performed through this interface. - - - - - Clears the content of this element. - - If this element is a text entry element, the - method will clear the value. It has no effect on other elements. Text entry elements - are defined as elements with INPUT or TEXTAREA tags. - Thrown when the target element is no longer valid in the document DOM. - - - - Simulates typing text into the element. - - The text to type into the element. - The text to be typed may include special characters like arrow keys, - backspaces, function keys, and so on. Valid special keys are defined in - . - - Thrown when the target element is not enabled. - Thrown when the target element is not visible. - Thrown when the target element is no longer valid in the document DOM. - - - - Submits this element to the web server. - - If this current element is a form, or an element within a form, - then this will be submitted to the web server. If this causes the current - page to change, then this method will block until the new page is loaded. - Thrown when the target element is no longer valid in the document DOM. - - - - Clicks this element. - - - - Click this element. If the click causes a new page to load, the - method will attempt to block until the page has loaded. After calling the - method, you should discard all references to this - element unless you know that the element and the page will still be present. - Otherwise, any further operations performed on this element will have an undefined. - behavior. - - - If this element is not clickable, then this operation is ignored. This allows you to - simulate a users to accidentally missing the target when clicking. - - - Thrown when the target element is not visible. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the value of the specified attribute for this element. - - The name of the attribute. - The attribute's current value. Returns a if the - value is not set. - The method will return the current value - of the attribute, even if the value has been modified after the page has been - loaded. Note that the value of the following attributes will be returned even if - there is no explicit attribute on the element: - Attribute nameValue returned if not explicitly specifiedValid element typescheckedcheckedCheck BoxselectedselectedOptions in Select elementsdisableddisabledInput and other UI elements - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the value of a CSS property of this element. - - The name of the CSS property to get the value of. - The value of the specified CSS property. - The value returned by the - method is likely to be unpredictable in a cross-browser environment. - Color values should be returned as hex strings. For example, a - "background-color" property set as "green" in the HTML source, will - return "#008000" for its value. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the tag name of this element. - - - The property returns the tag name of the - element, not the value of the name attribute. For example, it will return - "input" for an element specified by the HTML markup <input name="foo" />. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the innerText of this element, without any leading or trailing whitespace, - and with other whitespace collapsed. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is enabled. - - The property will generally - return for everything except explicitly disabled input elements. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is selected. - - This operation only applies to input elements such as checkboxes, - options in a select element and radio buttons. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a object containing the coordinates of the upper-left corner - of this element relative to the upper-left corner of the page. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a object containing the height and width of this element. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is displayed. - - The property avoids the problem - of having to parse an element's "style" attribute to determine - visibility of an element. - Thrown when the target element is no longer valid in the document DOM. - - - - Provides methods for getting and setting the size and position of the browser window. - - - - - Maximizes the current window if it is not already maximized. - - - - - Gets or sets the position of the browser window relative to the upper-left corner of the screen. - - When setting this property, it should act as the JavaScript window.moveTo() method. - - - - Gets or sets the size of the outer browser window, including title bars and window borders. - - When setting this property, it should act as the JavaScript window.resizeTo() method. - - - - Representations of keys able to be pressed that are not text keys for sending to the browser. - - - - - Represents the NUL keystroke. - - - - - Represents the Cancel keystroke. - - - - - Represents the Help keystroke. - - - - - Represents the Backspace key. - - - - - Represents the Tab key. - - - - - Represents the Clear keystroke. - - - - - Represents the Return key. - - - - - Represents the Enter key. - - - - - Represents the Shift key. - - - - - Represents the Shift key. - - - - - Represents the Control key. - - - - - Represents the Control key. - - - - - Represents the Alt key. - - - - - Represents the Alt key. - - - - - Represents the Pause key. - - - - - Represents the Escape key. - - - - - Represents the Spacebar key. - - - - - Represents the Page Up key. - - - - - Represents the Page Down key. - - - - - Represents the End key. - - - - - Represents the Home key. - - - - - Represents the left arrow key. - - - - - Represents the left arrow key. - - - - - Represents the up arrow key. - - - - - Represents the up arrow key. - - - - - Represents the right arrow key. - - - - - Represents the right arrow key. - - - - - Represents the Left arrow key. - - - - - Represents the Left arrow key. - - - - - Represents the Insert key. - - - - - Represents the Delete key. - - - - - Represents the semi-colon key. - - - - - Represents the equal sign key. - - - - - Represents the number pad 0 key. - - - - - Represents the number pad 1 key. - - - - - Represents the number pad 2 key. - - - - - Represents the number pad 3 key. - - - - - Represents the number pad 4 key. - - - - - Represents the number pad 5 key. - - - - - Represents the number pad 6 key. - - - - - Represents the number pad 7 key. - - - - - Represents the number pad 8 key. - - - - - Represents the number pad 9 key. - - - - - Represents the number pad multiplication key. - - - - - Represents the number pad addition key. - - - - - Represents the number pad thousands separator key. - - - - - Represents the number pad subtraction key. - - - - - Represents the number pad decimal separator key. - - - - - Represents the number pad division key. - - - - - Represents the function key F1. - - - - - Represents the function key F2. - - - - - Represents the function key F3. - - - - - Represents the function key F4. - - - - - Represents the function key F5. - - - - - Represents the function key F6. - - - - - Represents the function key F7. - - - - - Represents the function key F8. - - - - - Represents the function key F9. - - - - - Represents the function key F10. - - - - - Represents the function key F11. - - - - - Represents the function key F12. - - - - - Represents the function key META. - - - - - Represents the function key COMMAND. - - - - - Represents an entry in a log from a driver instance. - - - - - Initializes a new instance of the class. - - - - - Returns a string that represents the current . - - A string that represents the current . - - - - Creates a from a dictionary as deserialized from JSON. - - The from - which to create the . - A with the values in the dictionary. - - - - Gets the timestamp value of the log entry. - - - - - Gets the logging level of the log entry. - - - - - Gets the message of the log entry. - - - - - Represents the levels of logging available to driver instances. - - - - - Show all log messages. - - - - - Show messages with information useful for debugging. - - - - - Show informational messages. - - - - - Show messages corresponding to non-critical issues. - - - - - Show messages corresponding to critical issues. - - - - - Show no log messages. - - - - - Class containing names of common log types. - - - - - Log messages from the client language bindings. - - - - - Logs from the current WebDriver instance. - - - - - Logs from the browser. - - - - - Logs from the server. - - - - - Profiling logs. - - - - - The exception that is thrown when an alert is not found. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when a frame is not found. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when a window is not found. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Represents the known and supported Platforms that WebDriver runs on. - - The class maps closely to the Operating System, - but differs slightly, because this class is used to extract information such as - program locations and line endings. - - - - Any platform. This value is never returned by a driver, but can be used to find - drivers with certain capabilities. - - - - - Any version of Microsoft Windows. This value is never returned by a driver, - but can be used to find drivers with certain capabilities. - - - - - Any Windows NT-based version of Microsoft Windows. This value is never returned - by a driver, but can be used to find drivers with certain capabilities. This value - is equivalent to PlatformType.Windows. - - - - - Versions of Microsoft Windows that are compatible with Windows XP. - - - - - Versions of Microsoft Windows that are compatible with Windows Vista. - - - - - Any version of the Macintosh OS - - - - - Any version of the Unix operating system. - - - - - Any version of the Linux operating system. - - - - - A version of the Android mobile operating system. - - - - - Represents the platform on which tests are to be run. - - - - - Initializes a new instance of the class for a specific platform type. - - The platform type. - - - - Compares the platform to the specified type. - - A value to compare to. - - if the platforms match; otherwise . - - - - Returns the string value for this platform type. - - The string value for this platform type. - - - - Creates a object from a string name of the platform. - - The name of the platform to create. - The Platform object represented by the string name. - - - - Gets the current platform. - - - - - Gets the major version of the platform operating system. - - - - - Gets the major version of the platform operating system. - - - - - Gets the type of the platform. - - - - - Gets the value of the platform type for transmission using the JSON Wire Protocol. - - - - - Describes the kind of proxy. - - - Keep these in sync with the Firefox preferences numbers: - http://kb.mozillazine.org/Network.proxy.type - - - - - Direct connection, no proxy (default on Windows). - - - - - Manual proxy settings (e.g., for httpProxy). - - - - - Proxy automatic configuration from URL. - - - - - Use proxy automatic detection. - - - - - Use the system values for proxy settings (default on Linux). - - - - - No proxy type is specified. - - - - - Describes proxy settings to be used with a driver instance. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the given proxy settings. - - A dictionary of settings to use with the proxy. - - - - Gets or sets the type of proxy. - - - - - Gets the type of proxy as a string for JSON serialization. - - - - - Gets or sets a value indicating whether the proxy uses automatic detection. - - - - - Gets or sets the value of the proxy for the FTP protocol. - - - - - Gets or sets the value of the proxy for the HTTP protocol. - - - - - Gets or sets the value for bypass proxy addresses. - - - - - Gets or sets the URL used for proxy automatic configuration. - - - - - Gets or sets the value of the proxy for the SSL protocol. - - - - - Gets or sets the value of the proxy for the SOCKS protocol. - - - - - Gets or sets the value of username for the SOCKS proxy. - - - - - Gets or sets the value of password for the SOCKS proxy. - - - - - Represents possible screen orientations. - - - - - Represents a portrait mode, where the screen is vertical. - - - - - Represents Landscape mode, where the screen is horizontal. - - - - - Represents an image of the page currently loaded in the browser. - - - - - Initializes a new instance of the class. - - The image of the page as a Base64-encoded string. - - - - Saves the screenshot to a file, overwriting the file if it already exists. - - The full path and file name to save the screenshot to. - A object indicating the format - to save the image to. - - - - Returns a String that represents the current Object. - - A String that represents the current Object. - - - - Gets the value of the screenshot image as a Base64-encoded string. - - - - - Gets the value of the screenshot image as an array of bytes. - - - - - The exception that is thrown when a reference to an element is no longer valid. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when the user is unable to set a cookie. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an unhandled alert is present. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the class with - a specified error message and alert text. - - The message that describes the error. - The text of the unhandled alert. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Populates a SerializationInfo with the data needed to serialize the target object. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Gets the that has not been handled. - - - - - Gets the text of the unhandled alert. - - - - - Specifies return values for actions in the driver. - - - - - The action was successful. - - - - - The index specified for the action was out of the acceptable range. - - - - - No collection was specified. - - - - - No string was specified. - - - - - No string length was specified. - - - - - No string wrapper was specified. - - - - - No driver matching the criteria exists. - - - - - No element matching the criteria exists. - - - - - No frame matching the criteria exists. - - - - - The functionality is not supported. - - - - - The specified element is no longer valid. - - - - - The specified element is not displayed. - - - - - The specified element is not enabled. - - - - - An unhandled error occurred. - - - - - An error occurred, but it was expected. - - - - - The specified element is not selected. - - - - - No document matching the criteria exists. - - - - - An unexpected JavaScript error occurred. - - - - - No result is available from the JavaScript execution. - - - - - The result from the JavaScript execution is not recognized. - - - - - No collection matching the criteria exists. - - - - - A timeout occurred. - - - - - A null pointer was received. - - - - - No window matching the criteria exists. - - - - - An illegal attempt was made to set a cookie under a different domain than the current page. - - - - - A request to set a cookie's value could not be satisfied. - - - - - An alert was found open unexpectedly. - - - - - A request was made to switch to an alert, but no alert is currently open. - - - - - An asynchronous JavaScript execution timed out. - - - - - The coordinates of the element are invalid. - - - - - The selector used (CSS/XPath) was invalid. - - - - - Represents exceptions that are thrown when an error occurs during actions. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an error occurs during an XPath lookup. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Defines the interface through which the user finds elements by their ID. - - - - - Finds the first element matching the specified id. - - The id to match. - The first matching the criteria. - - - - Finds all elements matching the specified id. - - The id to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by their CSS class. - - - - - Finds the first element matching the specified CSS class. - - The CSS class to match. - The first matching the criteria. - - - - Finds all elements matching the specified CSS class. - - The CSS class to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by their link text. - - - - - Finds the first element matching the specified link text. - - The link text to match. - The first matching the criteria. - - - - Finds all elements matching the specified link text. - - The link text to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by their name. - - - - - Finds the first element matching the specified name. - - The name to match. - The first matching the criteria. - - - - Finds all elements matching the specified name. - - The name to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by their tag name. - - - - - Finds the first element matching the specified tag name. - - The tag name to match. - The first matching the criteria. - - - - Finds all elements matching the specified tag name. - - The tag name to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by XPath. - - - - - Finds the first element matching the specified XPath query. - - The XPath query to match. - The first matching the criteria. - - - - Finds all elements matching the specified XPath query. - - The XPath query to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by a partial match on their link text. - - - - - Finds the first element matching the specified partial link text. - - The partial link text to match. - The first matching the criteria. - - - - Finds all elements matching the specified partial link text. - - The partial link text to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by their cascading style sheet (CSS) selector. - - - - - Finds the first element matching the specified CSS selector. - - The id to match. - The first matching the criteria. - - - - Finds all elements matching the specified CSS selector. - - The CSS selector to match. - A containing all - IWebElements matching the criteria. - - - - Interface allowing the user to determine if the driver instance supports web storage. - - - - - Gets a value indicating whether web storage is supported for this driver. - - - - - Gets an object for managing web storage. - - - - - Interface allowing the user to determine if the driver instance supports geolocation. - - - - - Gets a value indicating whether manipulating geolocation is supported for this driver. - - - - - Gets an object for managing browser location. - - - - - Interface allowing the user to determine if the driver instance supports application cache. - - - - - Gets a value indicating whether manipulating the application cache is supported for this driver. - - - - - Gets an object for managing application cache. - - - - - Interface indicating the driver has a Session ID. - - - - - Gets the session ID of the current session. - - - - - Provides a way to use the driver through - - /// - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new RemoteWebDriver(new Uri("http://127.0.0.1:4444/wd/hub"),DesiredCapabilities.InternetExplorer()); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - } - } - - - - The default command timeout for HTTP requests in a RemoteWebDriver instance. - - - - - Initializes a new instance of the class. This constructor defaults proxy to http://127.0.0.1:4444/wd/hub - - An object containing the desired capabilities of the browser. - - - - Initializes a new instance of the class - - URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4444/wd/hub). - An object containing the desired capabilities of the browser. - - - - Initializes a new instance of the class using the specified remote address, desired capabilities, and command timeout. - - URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4444/wd/hub). - An object containing the desired capabilities of the browser. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class - - An object which executes commands for the driver. - An object containing the desired capabilities of the browser. - - - - Finds the first element in the page that matches the object - - By mechanism to find the object - IWebElement object so that you can interact with that object - - - IWebDriver driver = new InternetExplorerDriver(); - IWebElement elem = driver.FindElement(By.Name("q")); - - - - - - Finds the elements on the page by using the object and returns a ReadOnlyCollection of the Elements on the page - - By mechanism to find the element - ReadOnlyCollection of IWebElement - - - IWebDriver driver = new InternetExplorerDriver(); - ReadOnlyCollection]]> classList = driver.FindElements(By.ClassName("class")); - - - - - - Closes the Browser - - - - - Close the Browser and Dispose of WebDriver - - - - - Method For getting an object to set the Speed - - Returns an IOptions object that allows the driver to set the speed and cookies and getting cookies - - - - IWebDriver driver = new InternetExplorerDriver(); - driver.Manage().GetCookies(); - - - - - - Method to allow you to Navigate with WebDriver - - Returns an INavigation Object that allows the driver to navigate in the browser - - - IWebDriver driver = new InternetExplorerDriver(); - driver.Navigate().GoToUrl("http://www.google.co.uk"); - - - - - - Method to give you access to switch frames and windows - - Returns an Object that allows you to Switch Frames and Windows - - - IWebDriver driver = new InternetExplorerDriver(); - driver.SwitchTo().Frame("FrameName"); - - - - - - Executes JavaScript in the context of the currently selected frame or window - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - - Executes JavaScript asynchronously in the context of the currently selected frame or window. - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - - Finds the first element in the page that matches the ID supplied - - ID of the element - IWebElement object so that you can interact with that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementById("id") - - - - - - Finds the first element in the page that matches the ID supplied - - ID of the Element - ReadOnlyCollection of Elements that match the object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsById("id") - - - - - - Finds the first element in the page that matches the CSS Class supplied - - className of the - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementByClassName("classname") - - - - - - Finds a list of elements that match the class name supplied - - CSS class Name on the element - ReadOnlyCollection of IWebElement object so that you can interact with those objects - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByClassName("classname") - - - - - - Finds the first of elements that match the link text supplied - - Link text of element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByLinkText("linktext") - - - - - - Finds a list of elements that match the link text supplied - - Link text of element - ReadOnlyCollection]]> object so that you can interact with those objects - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByClassName("classname") - - - - - - Finds the first of elements that match the part of the link text supplied - - part of the link text - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByPartialLinkText("partOfLink") - - - - - - Finds a list of elements that match the class name supplied - - part of the link text - ReadOnlyCollection]]> objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByPartialLinkText("partOfTheLink") - - - - - - Finds the first of elements that match the name supplied - - Name of the element on the page - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - elem = driver.FindElementsByName("name") - - - - - - Finds a list of elements that match the name supplied - - Name of element - ReadOnlyCollect of IWebElement objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByName("name") - - - - - - Finds the first of elements that match the DOM Tag supplied - - DOM tag Name of the element being searched - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByTagName("tag") - - - - - - Finds a list of elements that match the DOM Tag supplied - - DOM tag Name of element being searched - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByTagName("tag") - - - - - - Finds the first of elements that match the XPath supplied - - xpath to the element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByXPath("//table/tbody/tr/td/a"); - - - - - - Finds a list of elements that match the XPath supplied - - xpath to the element - ReadOnlyCollection of IWebElement objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByXpath("//tr/td/a") - - - - - - Finds the first element matching the specified CSS selector. - - The CSS selector to match. - The first matching the criteria. - - - - Finds all elements matching the specified CSS selector. - - The CSS selector to match. - A containing all - IWebElements matching the criteria. - - - - Gets a object representing the image of the page on the screen. - - A object containing the image. - - - - Dispose the RemoteWebDriver Instance - - - - - Escapes invalid characters in a CSS selector. - - The selector to escape. - The selector with invalid characters escaped. - - - - Executes commands with the driver - - Command that needs executing - Parameters needed for the command - WebDriver Response - - - - Find the element in the response - - Response from the browser - Element from the page - - - - Finds the elements that are in the response - - Response from the browser - Collection of elements - - - - Stops the client from running - - if its in the process of disposing - - - - Starts a session with the driver - - Capabilities of the browser - - - - Executes a command with this driver . - - A value representing the command to execute. - A containing the names and values of the parameters of the command. - A containing information about the success or failure of the command and any data returned by the command. - - - - Starts the command executor, enabling communication with the browser. - - - - - Stops the command executor, ending further communication with the browser. - - - - - Finds an element matching the given mechanism and value. - - The mechanism by which to find the element. - The value to use to search for the element. - The first matching the given criteria. - - - - Finds all elements matching the given mechanism and value. - - The mechanism by which to find the elements. - The value to use to search for the elements. - A collection of all of the IWebElements matching the given criteria. - - - - Creates a with the specified ID. - - The ID of this element. - A with the specified ID. - - - - Executes JavaScript in the context of the currently selected frame or window using a specific command. - - The JavaScript code to execute. - The name of the command to execute. - The arguments to the script. - The value returned by the script. - - - - Converts the arguments to JavaScript objects. - - The arguments. - The list of the arguments converted to JavaScript objects. - - - - Gets or sets the URL the browser is currently displaying. - - - - - - - - Gets the title of the current browser window. - - - - - Gets the source of the page last loaded by the browser. - - - - - Gets the current window handle, which is an opaque handle to this - window that uniquely identifies it within this driver instance. - - - - - Gets the window handles of open browser windows. - - - - - Gets an object for sending keystrokes to the browser. - - - - - Gets an object for sending mouse commands to the browser. - - - - - Gets a value indicating whether web storage is supported for this driver. - - - - - Gets an object for managing web storage. - - - - - Gets a value indicating whether manipulating the application cache is supported for this driver. - - - - - Gets an object for managing application cache. - - - - - Gets a value indicating whether manipulating geolocation is supported for this driver. - - - - - Gets an object for managing browser location. - - - - - Gets the capabilities that the RemoteWebDriver instance is currently using - - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - - - - Gets the for the current session of this driver. - - - - - Gets a value indicating whether or not the driver is compliant with the W3C WebDriver specification. - - - - - Gets the which executes commands for this driver. - - - - - Provides a mechanism to write tests against Chrome - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new ChromeDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - } - } - - - - - - Accept untrusted SSL Certificates - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified options. - - The to be used with the Chrome driver. - - - - Initializes a new instance of the class using the specified driver service. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing ChromeDriver.exe. - - The full path to the directory containing ChromeDriver.exe. - - - - Initializes a new instance of the class using the specified path - to the directory containing ChromeDriver.exe and options. - - The full path to the directory containing ChromeDriver.exe. - The to be used with the Chrome driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing ChromeDriver.exe, options, and command timeout. - - The full path to the directory containing ChromeDriver.exe. - The to be used with the Chrome driver. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified - and options. - - The to use. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified . - - The to use. - The to be used with the Chrome driver. - The maximum amount of time to wait for each command. - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The Chrome driver does not allow a file detector to be set, - as the server component of the Chrome driver (ChromeDriver.exe) only - allows uploads from the local computer environment. Attempting to set - this property has no effect, but does not throw an exception. If you - are attempting to run the Chrome driver remotely, use - in conjunction with a standalone WebDriver server. - - - - Exposes the service provided by the native ChromeDriver executable. - - - - - Initializes a new instance of the class. - - The full path to the ChromeDriver executable. - The file name of the ChromeDriver executable. - The port on which the ChromeDriver executable should listen. - - - - Creates a default instance of the ChromeDriverService. - - A ChromeDriverService that implements default settings. - - - - Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable. - - The directory containing the ChromeDriver executable. - A ChromeDriverService using a random port. - - - - Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable with the given name. - - The directory containing the ChromeDriver executable. - The name of the ChromeDriver executable file. - A ChromeDriverService using a random port. - - - - Returns the Chrome driver filename for the currently running platform - - The file name of the Chrome driver service executable. - - - - Gets or sets the location of the log file written to by the ChromeDriver executable. - - - - - Gets or sets the base URL path prefix for commands (e.g., "wd/url"). - - - - - Gets or sets the address of a server to contact for reserving a port. - - - - - Gets or sets the port on which the Android Debug Bridge is listening for commands. - - - - - Gets or sets a value indicating whether to enable verbose logging for the ChromeDriver executable. - Defaults to . - - - - - Gets or sets the comma-delimited list of IP addresses that are approved to - connect to this instance of the Chrome driver. Defaults to an empty string, - which means only the local loopback address can connect. - - - - - Gets the command-line arguments for the driver service. - - - - - Represents the type-safe options for setting settings for emulating a - mobile device in the Chrome browser. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The user agent string to be used by the browser when emulating - a mobile device. - - - - Gets or sets the user agent string to be used by the browser when emulating - a mobile device. - - - - - Gets or sets the width in pixels to be used by the browser when emulating - a mobile device. - - - - - Gets or sets the height in pixels to be used by the browser when emulating - a mobile device. - - - - - Gets or sets the pixel ratio to be used by the browser when emulating - a mobile device. - - - - - Gets or sets a value indicating whether touch events should be enabled by - the browser when emulating a mobile device. Defaults to . - - - - - Class to manage options specific to - - Used with ChromeDriver.exe v17.0.963.0 and higher. - - - - ChromeOptions options = new ChromeOptions(); - options.AddExtensions("\path\to\extension.crx"); - options.BinaryLocation = "\path\to\chrome"; - - - - For use with ChromeDriver: - - - - ChromeDriver driver = new ChromeDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Gets the name of the capability used to store Chrome options in - a object. - - - - - Adds a single argument to the list of arguments to be appended to the Chrome.exe command line. - - The argument to add. - - - - Adds arguments to be appended to the Chrome.exe command line. - - An array of arguments to add. - - - - Adds arguments to be appended to the Chrome.exe command line. - - An object of arguments to add. - - - - Adds a single argument to be excluded from the list of arguments passed by default - to the Chrome.exe command line by chromedriver.exe. - - The argument to exclude. - - - - Adds arguments to be excluded from the list of arguments passed by default - to the Chrome.exe command line by chromedriver.exe. - - An array of arguments to exclude. - - - - Adds arguments to be excluded from the list of arguments passed by default - to the Chrome.exe command line by chromedriver.exe. - - An object of arguments to exclude. - - - - Adds a path to a packed Chrome extension (.crx file) to the list of extensions - to be installed in the instance of Chrome. - - The full path to the extension to add. - - - - Adds a list of paths to packed Chrome extensions (.crx files) to be installed - in the instance of Chrome. - - An array of full paths to the extensions to add. - - - - Adds a list of paths to packed Chrome extensions (.crx files) to be installed - in the instance of Chrome. - - An of full paths to the extensions to add. - - - - Adds a base64-encoded string representing a Chrome extension to the list of extensions - to be installed in the instance of Chrome. - - A base64-encoded string representing the extension to add. - - - - Adds a list of base64-encoded strings representing Chrome extensions to the list of extensions - to be installed in the instance of Chrome. - - An array of base64-encoded strings representing the extensions to add. - - - - Adds a list of base64-encoded strings representing Chrome extensions to be installed - in the instance of Chrome. - - An of base64-encoded strings - representing the extensions to add. - - - - Adds a preference for the user-specific profile or "user data directory." - If the specified preference already exists, it will be overwritten. - - The name of the preference to set. - The value of the preference to set. - - - - Adds a preference for the local state file in the user's data directory for Chrome. - If the specified preference already exists, it will be overwritten. - - The name of the preference to set. - The value of the preference to set. - - - - Allows the Chrome browser to emulate a mobile device. - - The name of the device to emulate. The device name must be a - valid device name from the Chrome DevTools Emulation panel. - Specifying an invalid device name will not throw an exeption, but - will generate an error in Chrome when the driver starts. To unset mobile - emulation, call this method with as the argument. - - - - Allows the Chrome browser to emulate a mobile device. - - The - object containing the settings of the device to emulate. - Thrown if the device settings option does - not have a user agent string set. - Specifying an invalid device name will not throw an exeption, but - will generate an error in Chrome when the driver starts. To unset mobile - emulation, call this method with as the argument. - - - - Adds a type of window that will be listed in the list of window handles - returned by the Chrome driver. - - The name of the window type to add. - This method can be used to allow the driver to access {webview} - elements by adding "webview" as a window type. - - - - Adds a list of window types that will be listed in the list of window handles - returned by the Chrome driver. - - An array of window types to add. - - - - Adds a list of window types that will be listed in the list of window handles - returned by the Chrome driver. - - An of window types to add. - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Chrome driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling - where has already been added will overwrite the - existing value with the new value in . - Also, by default, calling this method adds capabilities to the options object passed to - chromedriver.exe. - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Chrome driver. - - The name of the capability to add. - The value of the capability to add. - Indicates whether the capability is to be set as a global - capability for the driver instead of a Chrome-specific option. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling - where has already been added will overwrite the - existing value with the new value in - - - - Returns DesiredCapabilities for Chrome with these options included as - capabilities. This does not copy the options. Further changes will be - reflected in the returned capabilities. - - The DesiredCapabilities for Chrome with these options. - - - - Gets or sets the location of the Chrome browser's binary executable file. - - - - - Gets or sets a value indicating whether Chrome should be left running after the - ChromeDriver instance is exited. Defaults to . - - - - - Gets or sets the proxy to use with this instance of Chrome. - - - - - Gets the list of arguments appended to the Chrome command line as a string array. - - - - - Gets the list of extensions to be installed as an array of base64-encoded strings. - - - - - Gets or sets the address of a Chrome debugger server to connect to. - Should be of the form "{hostname|IP address}:port". - - - - - Gets or sets the directory in which to store minidump files. - - - - - Gets or sets the performance logging preferences for the driver. - - - - - Represents the type-safe options for setting preferences for performance - logging in the Chrome browser. - - - - - Adds a single category to the list of Chrome tracing categories for which events should be collected. - - The category to add. - - - - Adds categories to the list of Chrome tracing categories for which events should be collected. - - An array of categories to add. - - - - Adds categories to the list of Chrome tracing categories for which events should be collected. - - An object of categories to add. - - - - Gets or sets a value indicating whether Chrome will collect events from the Network domain. - Defaults to . - - - - - Gets or sets a value indicating whether Chrome will collect events from the Page domain. - Defaults to . - - - - - Gets or sets a value indicating whether Chrome will collect events from the Timeline domain. - Defaults to , but is set to when tracing - is enabled by adding one or more tracing categories. - - - - - Gets or sets the interval between Chrome DevTools trace buffer usage events. - Defaults to 1000 milliseconds. - - Thrown when an attempt is made to set - the value to a time span of less tnan or equal to zero milliseconds. - - - - Gets a comma-separated list of the categories for which tracing is enabled. - - - - - Defines the interface through which the user can access the driver used to find an element. - - - - - Gets the used to find this element. - - - - - RemoteWebElement allows you to have access to specific items that are found on the page - - - - - - - Initializes a new instance of the class. - - The instance hosting this element. - The ID assigned to the element. - - - - Clears the content of this element. - - If this element is a text entry element, the - method will clear the value. It has no effect on other elements. Text entry elements - are defined as elements with INPUT or TEXTAREA tags. - Thrown when the target element is no longer valid in the document DOM. - - - - Simulates typing text into the element. - - The text to type into the element. - The text to be typed may include special characters like arrow keys, - backspaces, function keys, and so on. Valid special keys are defined in - . - - Thrown when the target element is not enabled. - Thrown when the target element is not visible. - Thrown when the target element is no longer valid in the document DOM. - - - - Submits this element to the web server. - - If this current element is a form, or an element within a form, - then this will be submitted to the web server. If this causes the current - page to change, then this method will attempt to block until the new page - is loaded. - Thrown when the target element is no longer valid in the document DOM. - - - - Clicks this element. - - - Click this element. If the click causes a new page to load, the - method will attempt to block until the page has loaded. After calling the - method, you should discard all references to this - element unless you know that the element and the page will still be present. - Otherwise, any further operations performed on this element will have an undefined - behavior. - - Thrown when the target element is not enabled. - Thrown when the target element is not visible. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the value of the specified attribute for this element. - - The name of the attribute. - The attribute's current value. Returns a if the - value is not set. - The method will return the current value - of the attribute, even if the value has been modified after the page has been - loaded. Note that the value of the following attributes will be returned even if - there is no explicit attribute on the element: - Attribute nameValue returned if not explicitly specifiedValid element typescheckedcheckedCheck BoxselectedselectedOptions in Select elementsdisableddisabledInput and other UI elements - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the value of a CSS property of this element. - - The name of the CSS property to get the value of. - The value of the specified CSS property. - The value returned by the - method is likely to be unpredictable in a cross-browser environment. - Color values should be returned as hex strings. For example, a - "background-color" property set as "green" in the HTML source, will - return "#008000" for its value. - Thrown when the target element is no longer valid in the document DOM. - - - - Finds all IWebElements within the current context - using the given mechanism. - - The locating mechanism to use. - A of all WebElements - matching the current criteria, or an empty list if nothing matches. - - - - Finds the first using the given method. - - The locating mechanism to use. - The first matching on the current context. - If no element matches the criteria. - - - - Finds the first of elements that match the link text supplied - - Link text of element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementByLinkText("linktext") - - - - - - Finds the first of elements that match the link text supplied - - Link text of element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByLinkText("linktext") - - - - - - Finds the first element in the page that matches the ID supplied - - ID of the element - IWebElement object so that you can interact with that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementById("id") - - - - - - Finds the first element in the page that matches the ID supplied - - ID of the Element - ReadOnlyCollection of Elements that match the object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsById("id") - - - - - - Finds the first of elements that match the name supplied - - Name of the element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - elem = driver.FindElementsByName("name") - - - - - - Finds a list of elements that match the name supplied - - Name of element - ReadOnlyCollect of IWebElement objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByName("name") - - - - - - Finds the first of elements that match the DOM Tag supplied - - tag name of the element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByTagName("tag") - - - - - - Finds a list of elements that match the DOM Tag supplied - - DOM Tag of the element on the page - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByTagName("tag") - - - - - - Finds the first element in the page that matches the CSS Class supplied - - CSS class name of the element on the page - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementByClassName("classname") - - - - - - Finds a list of elements that match the class name supplied - - CSS class name of the elements on the page - ReadOnlyCollection of IWebElement object so that you can interact with those objects - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByClassName("classname") - - - - - - Finds the first of elements that match the XPath supplied - - xpath to the element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByXPath("//table/tbody/tr/td/a"); - - - - - - Finds a list of elements that match the XPath supplied - - xpath to element on the page - ReadOnlyCollection of IWebElement objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByXpath("//tr/td/a") - - - - - - Finds the first of elements that match the part of the link text supplied - - part of the link text - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByPartialLinkText("partOfLink") - - - - - - Finds a list of elements that match the link text supplied - - part of the link text - ReadOnlyCollection]]> objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByPartialLinkText("partOfTheLink") - - - - - - Finds the first element matching the specified CSS selector. - - The id to match. - The first matching the criteria. - - - - Finds all elements matching the specified CSS selector. - - The CSS selector to match. - A containing all - IWebElements matching the criteria. - - - - Gets a object representing the image of this element on the screen. - - A object containing the image. - - - - Method to get the hash code of the element - - Integer of the hash code for the element - - - - Compares if two elements are equal - - Object to compare against - A boolean if it is equal or not - - - - Finds a child element matching the given mechanism and value. - - The mechanism by which to find the element. - The value to use to search for the element. - The first matching the given criteria. - - - - Finds all child elements matching the given mechanism and value. - - The mechanism by which to find the elements. - The value to use to search for the elements. - A collection of all of the IWebElements matching the given criteria. - - - - Executes a command on this element using the specified parameters. - - The to execute against this element. - A containing names and values of the parameters for the command. - The object containing the result of the command execution. - - - - Gets the used to find this element. - - - - - Gets the tag name of this element. - - - The property returns the tag name of the - element, not the value of the name attribute. For example, it will return - "input" for an element specified by the HTML markup <input name="foo" />. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the innerText of this element, without any leading or trailing whitespace, - and with other whitespace collapsed. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is enabled. - - The property will generally - return for everything except explicitly disabled input elements. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is selected. - - This operation only applies to input elements such as checkboxes, - options in a select element and radio buttons. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a object containing the coordinates of the upper-left corner - of this element relative to the upper-left corner of the page. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a object containing the height and width of this element. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is displayed. - - The property avoids the problem - of having to parse an element's "style" attribute to determine - visibility of an element. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the point where the element would be when scrolled into view. - - - - - Gets the coordinates identifying the location of this element using - various frames of reference. - - - - - Gets the ID of the element. - - This property is internal to the WebDriver instance, and is - not intended to be used in your code. The element's ID has no meaning - outside of internal WebDriver usage, so it would be improper to scope - it as public. However, both subclasses of - and the parent driver hosting the element have a need to access the - internal element ID. Therefore, we have two properties returning the - same value, one scoped as internal, the other as protected. - - - - Gets the ID of the element - - This property is internal to the WebDriver instance, and is - not intended to be used in your code. The element's ID has no meaning - outside of internal WebDriver usage, so it would be improper to scope - it as public. However, both subclasses of - and the parent driver hosting the element have a need to access the - internal element ID. Therefore, we have two properties returning the - same value, one scoped as internal, the other as protected. - - - - Provides a mechanism to get elements off the page for test - - - - - Initializes a new instance of the class. - - Driver in use - Id of the element - - - - Provides a mechanism to write tests against Edge - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified options. - - The to be used with the Edge driver. - - - - Initializes a new instance of the class using the specified driver service. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing EdgeDriver.exe. - - The full path to the directory containing EdgeDriver.exe. - - - - Initializes a new instance of the class using the specified path - to the directory containing EdgeDriver.exe and options. - - The full path to the directory containing EdgeDriver.exe. - The to be used with the Edge driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing EdgeDriver.exe, options, and command timeout. - - The full path to the directory containing EdgeDriver.exe. - The to be used with the Edge driver. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified - and options. - - The to use. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified . - - The to use. - The to be used with the Edge driver. - The maximum amount of time to wait for each command. - - - - Exposes the service provided by the native MicrosoftWebDriver executable. - - - - - Initializes a new instance of the class. - - The full path to the EdgeDriver executable. - The file name of the EdgeDriver executable. - The port on which the EdgeDriver executable should listen. - - - - Creates a default instance of the EdgeDriverService. - - A EdgeDriverService that implements default settings. - - - - Creates a default instance of the EdgeDriverService using a specified path to the EdgeDriver executable. - - The directory containing the EdgeDriver executable. - A EdgeDriverService using a random port. - - - - Creates a default instance of the EdgeDriverService using a specified path to the EdgeDriver executable with the given name. - - The directory containing the EdgeDriver executable. - The name of the EdgeDriver executable file. - A EdgeDriverService using a random port. - - - - Creates a default instance of the EdgeDriverService using a specified path to the EdgeDriver executable with the given name and listening port. - - The directory containing the EdgeDriver executable. - The name of the EdgeDriver executable file - The port number on which the driver will listen - A EdgeDriverService using the specified port. - - - - Specifies the behavior of waiting for page loads in the Edge driver. - - - - - Indicates the behavior is not set. - - - - - Waits for pages to load and ready state to be 'complete'. - - - - - Waits for pages to load and for ready state to be 'interactive' or 'complete'. - - - - - Does not wait for pages to load, returning immediately. - - - - - Class to manage options specific to - - - EdgeOptions options = new EdgeOptions(); - - - - For use with EdgeDriver: - - - - EdgeDriver driver = new EdgeDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Edge driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling where - has already been added will overwrite the existing value with the new value in - - - - Returns DesiredCapabilities for Edge with these options included as - capabilities. This copies the options. Further changes will not be - reflected in the returned capabilities. - - The DesiredCapabilities for Edge with these options. - - - - Gets or sets the value for describing how the browser is to wait for pages to load in the Edge driver. - Defaults to . - - - - - Provides a mechanism to get elements off the page for test - - - - - Initializes a new instance of the class - - Driver in use - Id of the element - - - - Represents the binary associated with Firefox. - - The class is responsible for instantiating the - Firefox process, and the operating system environment in which it runs. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class located at a specific file location. - - Full path and file name to the Firefox executable. - - - - Starts Firefox using the specified profile and command-line arguments. - - The to use with this instance of Firefox. - The command-line arguments to use in starting Firefox. - - - - Sets a variable to be used in the Firefox execution environment. - - The name of the environment variable to set. - The value of the environment variable to set. - - - - Waits for the process to complete execution. - - - - - Releases all resources used by the . - - - - - Returns a String that represents the current Object. - - A String that represents the current Object. - - - - Starts the Firefox process. - - - - - Releases the unmanaged resources used by the and optionally - releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets or sets the timeout to wait for Firefox to be available for command execution. - - - - - Gets the associated with this . - - - - - Gets a value indicating whether the current operating system is Linux. - - - - - Gets a containing string key-value pairs - representing any operating system environment variables beyond the defaults. - - - - - Provides a way to access Firefox to run tests. - - - When the FirefoxDriver object has been instantiated the browser will load. The test can then navigate to the URL under test and - start your test. - - In the case of the FirefoxDriver, you can specify a named profile to be used, or you can let the - driver create a temporary, anonymous profile. A custom extension allowing the driver to communicate - to the browser will be installed into the profile. - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new FirefoxDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - } - } - - - - - - The name of the ICapabilities setting to use to define a custom Firefox profile. - - - - - The name of the ICapabilities setting to use to define a custom location for the - Firefox executable. - - - - - The default port on which to communicate with the Firefox extension. - - - - - Indicates whether native events is enabled by default for this platform. - - - - - Indicates whether the driver will accept untrusted SSL certificates. - - - - - Indicates whether the driver assume the issuer of untrusted certificates is untrusted. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class for a given profile. - - A object representing the profile settings - to be used in starting Firefox. - - - - Initializes a new instance of the class for a given set of capabilities. - - The object containing the desired - capabilities of this FirefoxDriver. - - - - Initializes a new instance of the class for a given profile and binary environment. - - A object representing the operating system - environmental settings used when running Firefox. - A object representing the profile settings - to be used in starting Firefox. - - - - Initializes a new instance of the class for a given profile, binary environment, and timeout value. - - A object representing the operating system - environmental settings used when running Firefox. - A object representing the profile settings - to be used in starting Firefox. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified options. Uses the Mozilla-provided Marionette driver implementation. - - The to be used with the Firefox driver. - - - - Initializes a new instance of the class using the specified driver service. Uses the Mozilla-provided Marionette driver implementation. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified options, driver service, and timeout. Uses the Mozilla-provided Marionette driver implementation. - - The to use. - The to be used with the Firefox driver. - The maximum amount of time to wait for each command. - - - - In derived classes, the method prepares the environment for test execution. - - - - - Creates a with the specified ID. - - The ID of this element. - A with the specified ID. For the FirefoxDriver this will be a . - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The Firefox driver does not allow a file detector to be set, - as the server component of the Firefox driver only allows uploads from - the local computer environment. Attempting to set this property has no - effect, but does not throw an exception. If you are attempting to run - the Firefox driver remotely, use in - conjunction with a standalone WebDriver server. - - - - Gets a value indicating whether the Firefox driver instance uses - Mozilla's Marionette implementation. This is a temporary property - and will be removed when Marionette is available for the release - channel of Firefox. - - - - - Gets the FirefoxBinary and its details for subclasses - - - - - Gets the FirefoxProfile that is currently in use by subclasses - - - - - Provides a way to send commands to the remote server - - - - - Executes a command - - The command you wish to execute - A response from the browser - - - - Gets the repository of objects containin information about commands. - - - - - Provides a way of executing Commands using the FirefoxDriver. - - - - - Initializes a new instance of the class. - - The on which to make the connection. - The creating the connection. - The name of the host on which to connect to the Firefox extension (usually "localhost"). - The maximum amount of time to wait for each command. - - - - Executes a command - - The command you wish to execute - A response from the browser - - - - Releases all resources used by the . - - - - - Releases the unmanaged resources used by the and - optionally releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets the repository of objects containin information about commands. - - - - - Provides methods for launching Firefox with the WebDriver extension installed. - - - - - Initializes a new instance of the class. - - The on which to make the connection. - The creating the connection. - The name of the host on which to connect to the Firefox extension (usually "localhost"). - - - - Starts the server. - - - - - Releases all resources used by the . - - - - - Releases the unmanaged resources used by the and optionally - releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets the for communicating with this server. - - - - - Exposes the service provided by the native FirefoxDriver executable. - - - - - Initializes a new instance of the class. - - The full path to the Firefox driver executable. - The file name of the Firefox driver executable. - The port on which the Firefox driver executable should listen. - - - - Creates a default instance of the FirefoxDriverService. - - A FirefoxDriverService that implements default settings. - - - - Creates a default instance of the FirefoxDriverService using a specified path to the Firefox driver executable. - - The directory containing the Firefox driver executable. - A FirefoxDriverService using a random port. - - - - Creates a default instance of the FirefoxDriverService using a specified path to the ChromeDriver executable with the given name. - - The directory containing the Firefox driver executable. - The name of th Firefox driver executable file. - A FirefoxDriverService using a random port. - - - - Gets or sets the location of the Firefox binary executable. - - - - - Gets or sets the port used by the driver executable to communicate with the browser. - - - - - Gets a value indicating the time to wait for an initial connection before timing out. - - - - - Gets a value indicating the time to wait for the service to terminate before forcing it to terminate. - - - - - Gets a value indicating whether the service is responding to HTTP requests. - - - - - Gets the command-line arguments for the driver service. - - - - - Provides the ability to install extensions into a . - - - - - Initializes a new instance of the class. - - The name of the file containing the Firefox extension. - WebDriver attempts to resolve the parameter - by looking first for the specified file in the directory of the calling assembly, - then using the full path to the file, if a full path is provided. - - - - Initializes a new instance of the class. - - The name of the file containing the Firefox extension. - The ID of the resource within the assembly containing the extension - if the file is not present in the file system. - WebDriver attempts to resolve the parameter - by looking first for the specified file in the directory of the calling assembly, - then using the full path to the file, if a full path is provided. If the file is - not found in the file system, WebDriver attempts to locate a resource in the - executing assembly with the name specified by the - parameter. - - - - Installs the extension into a profile directory. - - The Firefox profile directory into which to install the extension. - - - - Class to manage options specific to - - Used with the marionette executable wires.exe. - - - - FirefoxOptions options = new FirefoxOptions(); - - - - For use with FirefoxDriver: - - - - FirefoxDriver driver = new FirefoxDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Firefox driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - For the moment, this method has no effect for the Firefox driver, as use - of the FirefoxOptions class is only used as a marker for Marionette. This will - change in the future. - - - - Returns DesiredCapabilities for Firefox with these options included as - capabilities. This does not copy the options. Further changes will be - reflected in the returned capabilities. - - The DesiredCapabilities for Firefox with these options. - - - - Gets or sets a value indicating whether or not to use the Mozilla-provided Marionette implementation. - - - - - Provides the ability to edit the preferences associated with a Firefox profile. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using a - specific profile directory. - - The directory containing the profile. - - - - Initializes a new instance of the class using a - specific profile directory. - - The directory containing the profile. - Delete the source directory of the profile upon cleaning. - - - - Converts a base64-encoded string into a . - - The base64-encoded string containing the profile contents. - The constructed . - - - - Adds a Firefox Extension to this profile - - The path to the new extension - - - - Sets a preference in the profile. - - The name of the preference to add. - A value to add to the profile. - - - - Sets a preference in the profile. - - The name of the preference to add. - A value to add to the profile. - - - - Sets a preference in the profile. - - The name of the preference to add. - A value to add to the profile. - - - - Set proxy preferences for this profile. - - The object defining the proxy - preferences for the profile. - - - - Writes this in-memory representation of a profile to disk. - - - - - Cleans this Firefox profile. - - If this profile is a named profile that existed prior to - launching Firefox, the method removes the WebDriver - Firefox extension. If the profile is an anonymous profile, the profile - is deleted. - - - - Converts the profile into a base64-encoded string. - - A base64-encoded string containing the contents of the profile. - - - - Adds the WebDriver extension for Firefox to the profile. - - - - - Generates a random directory name for the profile. - - A random directory name for the profile. - - - - Deletes the lock files for a profile. - - - - - Installs all extensions in the profile in the directory on disk. - - - - - Deletes the cache of extensions for this profile, if the cache exists. - - If the extensions cache does not exist for this profile, the - method performs no operations, but - succeeds. - - - - Writes the user preferences to the profile. - - - - - Reads the existing preferences from the profile. - - A containing key-value pairs representing the preferences. - Assumes that we only really care about the preferences, not the comments - - - - Sets a preference for a manually specified proxy. - - The protocol for which to set the proxy. - The setting for the proxy. - - - - Gets or sets the port on which the profile connects to the WebDriver extension. - - - - - Gets the directory containing the profile. - - - - - Gets or sets a value indicating whether to delete this profile after use with - the . - - - - - Gets or sets a value indicating whether native events are enabled. - - - - - Gets or sets a value indicating whether to always load the library for allowing Firefox - to execute commands without its window having focus. - - The property is only used on Linux. - - - - Gets or sets a value indicating whether Firefox should accept SSL certificates which have - expired, signed by an unknown authority or are generally untrusted. Set to true - by default. - - - - - Gets or sets a value indicating whether Firefox assume untrusted SSL certificates - come from an untrusted issuer or are self-signed. Set to true by default. - - - - Due to limitations within Firefox, it is easy to find out if a certificate has expired - or does not match the host it was served for, but hard to find out if the issuer of the - certificate is untrusted. By default, it is assumed that the certificates were not - issued from a trusted certificate authority. - - - If you receive an "untrusted site" prompt it Firefox when using a certificate that was - issued by valid issuer, but the certificate has expired or is being served served for - a different host (e.g. production certificate served in a testing environment) set this - to false. - - - - - - Allows the user to enumerate and access existing named Firefox profiles. - - - - - Initializes a new instance of the class. - - - - - Gets a with a given name. - - The name of the profile to get. - A with a given name. - Returns if no profile with the given name exists. - - - - Gets a containing FirefoxProfiles - representing the existing named profiles for Firefox. - - - - - Allows the user to control elements on a page in Firefox. - - - - - Initializes a new instance of the class. - - The instance hosting this element. - The ID assigned to the element. - - - - Determines whether two instances are equal. - - The to compare with the current . - - if the specified is equal to the - current ; otherwise, . - - - - Serves as a hash function for a . - - A hash code for the current . - - - - Represents the preferences used by a profile in Firefox. - - - - - Initializes a new instance of the class. - - A set of preferences that cannot be modified once set. - A set of default preferences. - - - - Sets a preference. - - The name of the preference to set. - A value give the preference. - If the preference already exists in the currently-set list of preferences, - the value will be updated. - - - - Sets a preference. - - The name of the preference to set. - A value give the preference. - If the preference already exists in the currently-set list of preferences, - the value will be updated. - - - - Sets a preference. - - The name of the preference to set. - A value give the preference. - If the preference already exists in the currently-set list of preferences, - the value will be updated. - - - - Gets a preference from the list of preferences. - - The name of the preference to retrieve. - The value of the preference, or an empty string if the preference is not set. - - - - Appends this set of preferences to the specified set of preferences. - - A dictionary containing the preferences to which to - append these values. - If the preference already exists in , - the value will be updated. - - - - Writes the preferences to a file. - - The full path to the file to be written. - - - - Represents the executable file for Firefox. - - - - - Initializes a new instance of the class. - - The path and file name to the Firefox executable. - - - - Sets the library path for the Firefox executable environment. - - The used to execute the binary. - - - - Locates the Firefox binary by platform. - - The full path to the binary. - - - - Retrieves an environment variable - - Name of the variable. - Default value of the variable. - The value of the variable. If no variable with that name is set, returns the default. - - - - Retrieves the platform specific environment property name which contains the library path. - - The platform specific environment property name which contains the library path. - - - - Walk a PATH to locate binaries with a specified name. Binaries will be searched for in the - order they are provided. - - The binary names to search for. - The first binary found matching that name. - - - - Gets the full path to the executable. - - - - - Defines the interface through which the mutex port for establishing communication - with the WebDriver extension can be locked. - - - - - Locks the mutex port. - - The amount of time (in milliseconds) to wait for - the mutex port to become available. - - - - Locks the mutex port. - - The describing the amount of time to wait for - the mutex port to become available. - - - - Unlocks the mutex port. - - - - - Parses and reads an INI file. - - - - - Initializes a new instance of the class. - - The full path to the .INI file to be read. - - - - Gets a value from the .INI file. - - The section in which to find the key-value pair. - The key of the key-value pair. - The value associated with the given section and key. - - - - Gets a containing the names of the sections in the .INI file. - - - - - Provides a mutex-like lock on a socket. - - - - - Initializes a new instance of the class. - - Port to use to acquire the lock. - The class will attempt to acquire the - specified port number, and wait for it to become free. - - - - Locks the mutex port. - - The describing the amount of time to wait for - the mutex port to become available. - - - - Locks the mutex port. - - The amount of time (in milliseconds) to wait for - the mutex port to become available. - - - - Unlocks the mutex port. - - - - - Releases all resources associated with this - - - - Represents the application cache status. - - - - - AppCache status is uncached - - - - - AppCache status is idle - - - - - AppCache status is checkint - - - - - AppCache status is downloading - - - - - AppCache status is updated-ready - - - - - AppCache status is obsolete - - - - - Defines an interface allowing the user to access application cache status - - - - - Gets the current state of the application cache. - - - - - Represents the local storage for the site currently opened in the browser. - Each site has its own separate storage area. - - - - - Returns value of the local storage given a key. - - key to for a local storage entry - Value of the local storage entry as given a key. - - - - Returns the set of keys associated with local storage. - - Returns the set of keys associated with local storage as . - - - - Adds key/value pair to local storage. - - storage key - storage value - - - - Removes key/value pair from local storage. - - key to remove from storage - Value from local storage as string for the given key. - - - - Clears local storage. - - - - - Gets the number of items in local storage. - - - - - Interface for location context - - - - - Gets or sets a value indicating the physical location of the browser. - - - - - Represents the session storage for the site currently opened in the browser. - Each site has its own separate storage area. - - - - - Returns value of the session storage given a key. - - key to for a session storage entry - Value of the session storage entry as given a key. - - - - Returns the set of keys associated with session storage. - - Returns the set of keys associated with session storage as . - - - - Adds key/value pair to session storage. - - storage key - storage value - - - - Removes key/value pair from session storage. - - key to remove from storage - Value from session storage as string for the given key. - - - - Clears local storage. - - - - - Gets the number of items in session storage. - - - - - Represents both local and session storage for the site currently opened in the browser. - - - - - Gets the local storage for the site currently opened in the browser. - - - - - Gets the session storage for the site currently opened in the browser. - - - - - Represents the physical location of the browser. - - - - - Initializes a new instance of the class. - - latitude for current location - longitude for current location - altitude for current location - - - - Retuns string represenation for current location. - - Returns string reprsentation for current location. - - - - Gets the latitude of the current location. - - - - - Gets the longitude of the current location. - - - - - Gets the altitude of the current location. - - - - - Provides a way to access Internet Explorer to run your tests by creating a InternetExplorerDriver instance - - - When the WebDriver object has been instantiated the browser will load. The test can then navigate to the URL under test and - start your test. - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new InternetExplorerDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - driver.Dispose(); - } - } - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the desired - options. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified driver service. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing IEDriverServer.exe. - - The full path to the directory containing IEDriverServer.exe. - - - - Initializes a new instance of the class using the specified path - to the directory containing IEDriverServer.exe and options. - - The full path to the directory containing IEDriverServer.exe. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing IEDriverServer.exe, options, and command timeout. - - The full path to the directory containing IEDriverServer.exe. - The used to initialize the driver. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified - and options. - - The to use. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified - , , and command timeout. - - The to use. - The used to initialize the driver. - The maximum amount of time to wait for each command. - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The IE driver does not allow a file detector to be set, - as the server component of the IE driver (IEDriverServer.exe) only - allows uploads from the local computer environment. Attempting to set - this property has no effect, but does not throw an exception. If you - are attempting to run the IE driver remotely, use - in conjunction with a standalone WebDriver server. - - - - Represents the valid values for driver engine available with the IEDriverServer.exe. - - - - - Represents the Legacy value, forcing the driver to use only the open-source - driver engine implementation. - - - - - Represents the AutoDetect value, instructing the driver to use the vendor-provided - driver engine implementation, if available, falling back to the open-source - implementation, if it is not available. - - - - - Represents the Vendor value, instructing the driver to use the vendor-provided - driver engine implementation, and throwing an exception if it is not available. - - - - - Represents the valid values of logging levels available with the IEDriverServer.exe. - - - - - Represents the Trace value, the most detailed logging level available. - - - - - Represents the Debug value - - - - - Represents the Info value - - - - - Represents the Warn value - - - - - Represents the Error value - - - - - Represents the Fatal value, the least detailed logging level available. - - - - - Exposes the service provided by the native IEDriverServer executable. - - - - - Initializes a new instance of the class. - - The full path to the IEDriverServer executable. - The file name of the IEDriverServer executable. - The port on which the IEDriverServer executable should listen. - - - - Creates a default instance of the InternetExplorerDriverService. - - A InternetExplorerDriverService that implements default settings. - - - - Creates a default instance of the InternetExplorerDriverService using a specified path to the IEDriverServer executable. - - The directory containing the IEDriverServer executable. - A InternetExplorerDriverService using a random port. - - - - Creates a default instance of the InternetExplorerDriverService using a specified path to the IEDriverServer executable with the given name. - - The directory containing the IEDriverServer executable. - The name of the IEDriverServer executable file. - A InternetExplorerDriverService using a random port. - - - - Gets or sets the value of the host adapter on which the IEDriverServer should listen for connections. - - - - - Gets or sets the location of the log file written to by the IEDriverServer. - - - - - Gets or sets the logging level used by the IEDriverServer. - - - - - Gets or sets the implementation to be used by the IEDriverServer. - - - - - Gets or sets the path to which the supporting library of the IEDriverServer.exe is extracted. - Defaults to the temp directory if this property is not set. - - - The IEDriverServer.exe requires extraction of a supporting library to perform some of its functions. Setting - This library is extracted to the temp directory if this property is not set. If the property is set, it must - be set to a valid directory. - - - - - Gets or sets the comma-delimited list of IP addresses that are approved to - connect to this instance of the IEDriverServer. Defaults to an empty string, - which means only the local loopback address can connect. - - - - - Gets the command-line arguments for the driver service. - - - - - Specifies the scroll behavior of elements scrolled into view in the IE driver. - - - - - Scrolls elements to align with the top of the viewport. - - - - - Scrolls elements to align with the bottom of the viewport. - - - - - Specifies the behavior of handling unexpected alerts in the IE driver. - - - - - Indicates the behavior is not set. - - - - - Ignore unexpected alerts, such that the user must handle them. - - - - - Accept unexpected alerts. - - - - - Dismiss unexpected alerts. - - - - - Specifies the behavior of waiting for page loads in the IE driver. - - - - - Indicates the behavior is not set. - - - - - Waits for pages to load and ready state to be 'complete'. - - - - - Waits for pages to load and for ready state to be 'interactive' or 'complete'. - - - - - Does not wait for pages to load, returning immediately. - - - - - Class to manage options specific to - - - InternetExplorerOptions options = new InternetExplorerOptions(); - options.IntroduceInstabilityByIgnoringProtectedModeSettings = true; - - - - For use with InternetExplorerDriver: - - - - InternetExplorerDriver driver = new InternetExplorerDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Internet Explorer driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling where - has already been added will overwrite the existing value with the new value in - - - - Returns DesiredCapabilities for IE with these options included as - capabilities. This copies the options. Further changes will not be - reflected in the returned capabilities. - - The DesiredCapabilities for IE with these options. - - - - Gets or sets a value indicating whether to ignore the settings of the Internet Explorer Protected Mode. - - - - - Gets or sets a value indicating whether to ignore the zoom level of Internet Explorer . - - - - - Gets or sets a value indicating whether to use native events in interacting with elements. - - - - - Gets or sets a value indicating whether to require the browser window to have focus before interacting with elements. - - - - - Gets or sets the initial URL displayed when IE is launched. If not set, the browser launches - with the internal startup page for the WebDriver server. - - - By setting the to - and this property to a correct URL, you can launch IE in the Internet Protected Mode zone. This can be helpful - to avoid the flakiness introduced by ignoring the Protected Mode settings. Nevertheless, setting Protected Mode - zone settings to the same value in the IE configuration is the preferred method. - - - - - Gets or sets the value for describing how elements are scrolled into view in the IE driver. Defaults - to scrolling the element to the top of the viewport. - - - - - Gets or sets the value for describing how unexpected alerts are to be handled in the IE driver. - Defaults to . - - - - - Gets or sets the value for describing how the browser is to wait for pages to load in the IE driver. - Defaults to . - - - - - Gets or sets a value indicating whether to enable persistently sending WM_MOUSEMOVE messages - to the IE window during a mouse hover. - - - - - Gets or sets the amount of time the driver will attempt to look for a newly launched instance - of Internet Explorer. - - - - - Gets or sets the amount of time the driver will attempt to look for the file selection - dialog when attempting to upload a file. - - - - - Gets or sets a value indicating whether to force the use of the Windows CreateProcess API - when launching Internet Explorer. The default value is . - - - - - Gets or sets a value indicating whether to force the use of the Windows ShellWindows API - when attaching to Internet Explorer. The default value is . - - - - - Gets or sets a value indicating whether to validate the document type of the loaded - document when setting cookies. - - - - - Gets or sets the command line arguments used in launching Internet Explorer when the - Windows CreateProcess API is used. This property only has an effect when the - is . - - - - - Gets or sets the to be used with Internet Explorer. By default, - will install the specified proxy to be the system proxy, used by all instances of - Internet Explorer. To change this default behavior, change the - property. - - - - - Gets or sets a value indicating whether to use the supplied - settings on a per-process basis, not updating the system installed proxy setting. - This property is only valid when setting a , where the - property is either , - , or , and is - otherwise ignored. Defaults to . - - - - - Gets or sets a value indicating whether to clear the Internet Explorer cache - before launching the browser. When set to , clears the - system cache for all instances of Internet Explorer, even those already running - when the driven instance is launched. Defaults to . - - - - - Gets or sets a value indicating whether to enable full-page screenshots for - the IE driver. Defaults to . - - - - - InternetExplorerWebElement allows you to have access to specific items that are found on the page. - - - - - - [Test] - public void TestGoogle() - { - driver = new InternetExplorerDriver(); - InternetExplorerWebElement elem = driver.FindElement(By.Name("q")); - elem.SendKeys("Cheese please!"); - } - - - - - - Initializes a new instance of the class. - - Driver in use. - ID of the element. - - - - Provides a mechanism for building advanced interactions with the browser. - - - - - Initializes a new instance of the class. - - The object on which the actions built will be performed. - - - - Sends a modifier key down message to the browser. - - The key to be sent. - A self-reference to this . - If the key sent is not is not one - of , , or . - - - - Sends a modifier key down message to the specified element in the browser. - - The element to which to send the key command. - The key to be sent. - A self-reference to this . - If the key sent is not is not one - of , , or . - - - - Sends a modifier key up message to the browser. - - The key to be sent. - A self-reference to this . - If the key sent is not is not one - of , , or . - - - - Sends a modifier up down message to the specified element in the browser. - - The element to which to send the key command. - The key to be sent. - A self-reference to this . - If the key sent is not is not one - of , , or . - - - - Sends a sequence of keystrokes to the browser. - - The keystrokes to send to the browser. - A self-reference to this . - - - - Sends a sequence of keystrokes to the specified element in the browser. - - The element to which to send the keystrokes. - The keystrokes to send to the browser. - A self-reference to this . - - - - Clicks and holds the mouse button down on the specified element. - - The element on which to click and hold. - A self-reference to this . - - - - Clicks and holds the mouse button at the last known mouse coordinates. - - A self-reference to this . - - - - Releases the mouse button on the specified element. - - The element on which to release the button. - A self-reference to this . - - - - Releases the mouse button at the last known mouse coordinates. - - A self-reference to this . - - - - Clicks the mouse on the specified element. - - The element on which to click. - A self-reference to this . - - - - Clicks the mouse at the last known mouse coordinates. - - A self-reference to this . - - - - Double-clicks the mouse on the specified element. - - The element on which to double-click. - A self-reference to this . - - - - Double-clicks the mouse at the last known mouse coordinates. - - A self-reference to this . - - - - Moves the mouse to the specified element. - - The element to which to move the mouse. - A self-reference to this . - - - - Moves the mouse to the specified offset of the top-left corner of the specified element. - - The element to which to move the mouse. - The horizontal offset to which to move the mouse. - The vertical offset to which to move the mouse. - A self-reference to this . - - - - Moves the mouse to the specified offset of the last known mouse coordinates. - - The horizontal offset to which to move the mouse. - The vertical offset to which to move the mouse. - A self-reference to this . - - - - Right-clicks the mouse on the specified element. - - The element on which to right-click. - A self-reference to this . - - - - Right-clicks the mouse at the last known mouse coordinates. - - A self-reference to this . - - - - Performs a drag-and-drop operation from one element to another. - - The element on which the drag operation is started. - The element on which the drop is performed. - A self-reference to this . - - - - Performs a drag-and-drop operation on one element to a specified offset. - - The element on which the drag operation is started. - The horizontal offset to which to move the mouse. - The vertical offset to which to move the mouse. - A self-reference to this . - - - - Builds the sequence of actions. - - A composite which can be used to perform the actions. - - - - Performs the currently built action. - - - - - Gets the instance of the specified . - - The to get the location of. - The of the . - - - - Adds an action to current list of actions to be performed. - - The to be added. - - - - Defines an action for keyboard and mouse interaction with the browser. - - - - - Initializes a new instance of the class for the given element. - - An object that provides coordinates for this action. - - - - Initializes a new instance of the class. - - This action will take place in the context of the previous action's coordinates. - - - - Gets the target of the action providing coordinates of the action. - - - - - Defines an action for mouse interaction with the browser. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Moves the mouse to the location at which to perform the action. - - - - - Gets the coordinates at which to perform the mouse action. - - - - - Gets the mouse with which to perform the action. - - - - - Provides methods by which an interaction with the browser can be performed. - - - - - Performs this action on the browser. - - - - - Defines an action for releasing the currently held mouse button. - - - This action can be called for an element different than the one - ClickAndHoldAction was called for. However, if this action is - performed out of sequence (without holding down the mouse button, - for example) the results will be different. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action for clicking on an element. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action for clicking and holding the mouse button on an element. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action that consists of a list of other actions to be performed in the browser. - - - - - Adds an action to the list of actions to be performed. - - An to be appended to the - list of actions to be performed. - A self reference. - - - - Performs the actions defined in this list of actions. - - - - - Defines an action for clicking the secondary mouse button on an element, displaying a context menu. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action for double-clicking on an element. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action for keyboard interaction with the browser. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - An object providing the element on which to perform the action. - - - - Gets the touch screen with which to perform the action. - - - - - Gets the location at which to perform the action. - - - - - Creates a double tap gesture on a touch screen. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs the action. - - - - - Creates a flick gesture on a touch screen. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - The horizontal speed in pixels per second. - The vertical speed in pixels per second. - - - - Initializes a new instance of the class for use with the specified element. - - The with which the action will be performed. - An describing an element at which to perform the action. - The x offset relative to the viewport. - The y offset relative to the viewport. - The speed in pixels per second. - - - - Performs the action. - - - - - Provides location of the element using various frames of reference. - - - - - Gets the location of an element in absolute screen coordinates. - - - - - Gets the location of an element relative to the origin of the view port. - - - - - Gets the location of an element's position within the HTML DOM. - - - - - Gets a locator providing a user-defined location for this element. - - - - - Defines an action for keyboard interaction with the browser. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - The to use in setting focus to the element on which to perform the action. - An object providing the element on which to perform the action. - - - - Focuses on the element on which the action is to be performed. - - - - - Gets the keyboard with which to perform the action. - - - - - Defines an action for keyboard interaction with the browser using a single modifier key. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - The to use in setting focus to the element on which to perform the action. - An object providing the element on which to perform the action. - The modifier key (, , ) to use in the action. - - - - Gets the key with which to perform the action. - - - - - Defines an action for pressing a modifier key (Shift, Alt, or Control) on the keyboard. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - The to use in setting focus to the element on which to perform the action. - An object providing the element on which to perform the action. - The modifier key (, , ) to use in the action. - - - - Performs this action. - - - - - Defines an action for releasing a modifier key (Shift, Alt, or Control) on the keyboard. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - The to use in setting focus to the element on which to perform the action. - An object providing the element on which to perform the action. - The modifier key (, , ) to use in the action. - - - - Performs this action. - - - - - Creates a long press gesture on a touch screen. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs the action. - - - - - Defines an action for moving the mouse to a specified location. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action for moving the mouse to a specified offset from its current location. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - The horizontal offset from the origin of the target to which to move the mouse. - The vertical offset from the origin of the target to which to move the mouse. - - - - Performs this action. - - - - - Presses a touch screen at a given location. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Performs the action. - - - - - Presses a touch screen at a given location. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Performs the action. - - - - - Presses a touch screen at a given location. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Performs the action. - - - - - Creates a double tap gesture on a touch screen. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - The horizontal offset relative to the view port. - The vertical offset relative to the view port. - - - - Initializes a new instance of the class for use with the specified element. - - The with which the action will be performed. - An describing an element at which to perform the action. - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Performs the action. - - - - - Defines an action for sending a sequence of keystrokes to an element. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - The to use in setting focus to the element on which to perform the action. - An object providing the element on which to perform the action. - The key sequence to send. - - - - Performs this action. - - - - - Creates a single tap gesture on a touch screen. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs the action. - - - - - Provides a mechanism for building advanced interactions with the browser. - - - - - Initializes a new instance of the class. - - The object on which the actions built will be performed. - - - - Taps the touch screen on the specified element. - - The element on which to tap. - A self-reference to this . - - - - Presses down at the specified location on the screen. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - A self-reference to this . - - - - Releases a press at the specified location on the screen. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - A self-reference to this . - - - - Moves to the specified location on the screen. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - A self-reference to this . - - - - Scrolls the touch screen beginning at the specified element. - - The element on which to begin scrolling. - The x coordinate relative to the view port. - The y coordinate relative to the view port. - A self-reference to this . - - - - Double-taps the touch screen on the specified element. - - The element on which to double-tap. - A self-reference to this . - - - - Presses and holds on the touch screen on the specified element. - - The element on which to press and hold - A self-reference to this . - - - - Scrolls the touch screen to the specified offset. - - The horizontal offset relative to the view port. - The vertical offset relative to the view port. - A self-reference to this . - - - - Flicks the current view. - - The horizontal speed in pixels per second. - The vertical speed in pixels per second. - A self-reference to this . - - - - Flicks the current view starting at a specific location. - - The element at which to start the flick. - The x offset relative to the viewport. - The y offset relative to the viewport. - The speed in pixels per second. - A self-reference to this . - - - - Utility class used to execute "asynchronous" scripts. This class should - only be used by browsers that do not natively support asynchronous - script execution. - Warning: this class is intended for internal use - only. This class will be removed without warning after all - native asynchronous implementations have been completed. - - - - - Initializes a new instance of the class. - - An object capable of executing JavaScript. - - - - Executes a JavaScript script asynchronously. - - The script to execute. - An array of objects used as arguments in the script. - The object which is the return value of the script. - if the object executing the function doesn't support JavaScript. - if the page reloads during the JavaScript execution. - if the timeout expires during the JavaScript execution. - - - - Gets or sets the timeout for the script executor. - - - - - Encapsulates methods for working with files. - - - - - Recursively copies a directory. - - The source directory to copy. - The destination directory. - - if the copy is completed; otherwise . - - - - Recursively deletes a directory, retrying on error until a timeout. - - The directory to delete. - This method does not throw an exception if the delete fails. - - - - Searches for a file with the specified name. - - The name of the file to find. - The full path to the directory where the file can be found, - or an empty string if the file does not exist in the locations searched. - - This method looks first in the directory of the currently executing - assembly. If the specified file is not there, the method then looks in - each directory on the PATH environment variable, in order. - - - - - Gets the directory of the currently executing assembly. - - The directory of the currently executing assembly. - - - - Generates the full path to a random directory name in the temporary directory, following a naming pattern.. - - The pattern to use in creating the directory name, following standard - .NET string replacement tokens. - The full path to the random directory name in the temporary directory. - - - - Defines the interface through which the user can discover if there is an underlying element to be used. - - - - - Gets the wrapped by this object. - - - - - Provides entry points into needed unmanaged APIs. - - - - - Values for flags for setting information about a native operating system handle. - - - - - Sets the handle information for a Windows object. - - Handle to the object. - The handle information to set. - The flags for the handle. - - if the information is set; otherwise . - - - - Encapsulates methods for working with ports. - - - - - Finds a random, free port to be listened on. - - A random, free port to be listened on. - - - - Encapsulates methods for finding and extracting WebDriver resources. - - - - - Gets a that contains the resource to use. - - A file name in the file system containing the resource to use. - A string representing the resource name embedded in the - executing assembly, if it is not found in the file system. - A Stream from which the resource can be read. - Thrown if neither the file nor the embedded resource can be found. - - The GetResourceStream method searches for the specified resource using the following - algorithm: - In the same directory as the calling assembly.In the full path specified by the argument.Inside the calling assembly as an embedded resource. - - - - Returns a value indicating whether a resource exists with the specified ID. - - ID of the embedded resource to check for. - - if the resource exists in the calling assembly; otherwise . - - - - Represents a cookie returned to the driver by the browser. - - - - - Initializes a new instance of the class with a specific name, - value, domain, path and expiration date. - - The name of the cookie. - The value of the cookie. - The domain of the cookie. - The path of the cookie. - The expiration date of the cookie. - - if the cookie is secure; otherwise - - if the cookie is an HTTP-only cookie; otherwise - If the name is or an empty string, - or if it contains a semi-colon. - If the value or currentUrl is . - - - - Creates and returns a string representation of the current cookie. - - A string representation of the current cookie. - - - - Gets a value indicating whether the cookie is secure. - - - - - Gets a value indicating whether the cookie is an HTTP-only cookie. - - - - - Unique class for compression/decompression file. Represents a Zip file. - - - - - Compression method enumeration. - - - - - Represents an entry in Zip file directory - - - - Overriden method - Filename in Zip - - - - Create a new zip storage in a stream. - - The stream to use to create the Zip file. - General comment for Zip file. - A valid ZipStorer object. - - - - Open the existing Zip storage in a stream. - - Already opened stream with zip contents. - File access mode for stream operations. - A valid ZipStorer object. - - - - Add full contents of a file into the Zip storage. - - Compression method used to store the file. - Full path of file to add to Zip storage. - File name and path as desired in Zip directory. - Comment for stored file. - - - - Add full contents of a stream into the Zip storage. - - Compression method used to store the stream. - Stream object containing the data to store in Zip. - File name and path as desired in Zip directory. - Modification time of the data to store. - Comment for stored file. - - - - Updates central directory (if needed) and close the Zip storage. - - This is a required step, unless automatic dispose is used. - - - - Read all the file records in the central directory. - - List of all entries in directory. - - - - Copy the contents of a stored file into a physical file. - - Entry information of file to extract. - Name of file to store uncompressed data. - - if the file is successfully extracted; otherwise, . - Unique compression methods are Store and Deflate. - - - - Copy the contents of a stored file into an open stream. - - Entry information of file to extract. - Stream to store the uncompressed data. - - if the file is successfully extracted; otherwise, . - Unique compression methods are Store and Deflate. - - - - Closes the Zip file stream. - - - - - Gets a value indicating whether file names and comments should be encoded using UTF-8. - - - - - Gets a value indicating whether to force using the deflate algorithm, - even if doing so inflates the stored file. - - - - - Provides a mechanism to write tests against Opera - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new OperaDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - } - } - - - - - - Accept untrusted SSL Certificates - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified options. - - The to be used with the Opera driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing OperaDriver.exe. - - The full path to the directory containing OperaDriver.exe. - - - - Initializes a new instance of the class using the specified path - to the directory containing OperaDriver.exe and options. - - The full path to the directory containing OperaDriver.exe. - The to be used with the Opera driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing OperaDriver.exe, options, and command timeout. - - The full path to the directory containing OperaDriver.exe. - The to be used with the Opera driver. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified - and options. - - The to use. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified . - - The to use. - The to be used with the Opera driver. - The maximum amount of time to wait for each command. - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The Opera driver does not allow a file detector to be set, - as the server component of the Opera driver (OperaDriver.exe) only - allows uploads from the local computer environment. Attempting to set - this property has no effect, but does not throw an exception. If you - are attempting to run the Opera driver remotely, use - in conjunction with a standalone WebDriver server. - - - - Exposes the service provided by the native OperaDriver executable. - - - - - Initializes a new instance of the class. - - The full path to the OperaDriver executable. - The file name of the OperaDriver executable. - The port on which the OperaDriver executable should listen. - - - - Creates a default instance of the OperaDriverService. - - A OperaDriverService that implements default settings. - - - - Creates a default instance of the OperaDriverService using a specified path to the OperaDriver executable. - - The directory containing the OperaDriver executable. - A OperaDriverService using a random port. - - - - Creates a default instance of the OperaDriverService using a specified path to the OperaDriver executable with the given name. - - The directory containing the OperaDriver executable. - The name of the OperaDriver executable file. - A OperaDriverService using a random port. - - - - Gets or sets the location of the log file written to by the OperaDriver executable. - - - - - Gets or sets the base URL path prefix for commands (e.g., "wd/url"). - - - - - Gets or sets the address of a server to contact for reserving a port. - - - - - Gets or sets the port on which the Android Debug Bridge is listening for commands. - - - - - Gets or sets a value indicating whether to enable verbose logging for the OperaDriver executable. - Defaults to . - - - - - Gets the command-line arguments for the driver service. - - - - - Class to manage options specific to - - Used with OperaDriver.exe for Chromium v0.1.0 and higher. - - - - OperaOptions options = new OperaOptions(); - options.AddExtensions("\path\to\extension.crx"); - options.BinaryLocation = "\path\to\opera"; - - - - For use with OperaDriver: - - - - OperaDriver driver = new OperaDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Gets the name of the capability used to store Opera options in - a object. - - - - - Adds a single argument to the list of arguments to be appended to the Opera.exe command line. - - The argument to add. - - - - Adds arguments to be appended to the Opera.exe command line. - - An array of arguments to add. - - - - Adds arguments to be appended to the Opera.exe command line. - - An object of arguments to add. - - - - Adds a single argument to be excluded from the list of arguments passed by default - to the Opera.exe command line by operadriver.exe. - - The argument to exclude. - - - - Adds arguments to be excluded from the list of arguments passed by default - to the Opera.exe command line by operadriver.exe. - - An array of arguments to exclude. - - - - Adds arguments to be excluded from the list of arguments passed by default - to the Opera.exe command line by operadriver.exe. - - An object of arguments to exclude. - - - - Adds a path to a packed Opera extension (.crx file) to the list of extensions - to be installed in the instance of Opera. - - The full path to the extension to add. - - - - Adds a list of paths to packed Opera extensions (.crx files) to be installed - in the instance of Opera. - - An array of full paths to the extensions to add. - - - - Adds a list of paths to packed Opera extensions (.crx files) to be installed - in the instance of Opera. - - An of full paths to the extensions to add. - - - - Adds a base64-encoded string representing a Opera extension to the list of extensions - to be installed in the instance of Opera. - - A base64-encoded string representing the extension to add. - - - - Adds a list of base64-encoded strings representing Opera extensions to the list of extensions - to be installed in the instance of Opera. - - An array of base64-encoded strings representing the extensions to add. - - - - Adds a list of base64-encoded strings representing Opera extensions to be installed - in the instance of Opera. - - An of base64-encoded strings - representing the extensions to add. - - - - Adds a preference for the user-specific profile or "user data directory." - If the specified preference already exists, it will be overwritten. - - The name of the preference to set. - The value of the preference to set. - - - - Adds a preference for the local state file in the user's data directory for Opera. - If the specified preference already exists, it will be overwritten. - - The name of the preference to set. - The value of the preference to set. - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Opera driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling - where has already been added will overwrite the - existing value with the new value in . - Also, by default, calling this method adds capabilities to the options object passed to - operadriver.exe. - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Opera driver. - - The name of the capability to add. - The value of the capability to add. - Indicates whether the capability is to be set as a global - capability for the driver instead of a Opera-specific option. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling - where has already been added will overwrite the - existing value with the new value in - - - - Returns DesiredCapabilities for Opera with these options included as - capabilities. This does not copy the options. Further changes will be - reflected in the returned capabilities. - - The DesiredCapabilities for Opera with these options. - - - - Gets or sets the location of the Opera browser's binary executable file. - - - - - Gets or sets a value indicating whether Opera should be left running after the - OperaDriver instance is exited. Defaults to . - - - - - Gets or sets the proxy to use with this instance of Opera. - - - - - Gets the list of arguments appended to the Opera command line as a string array. - - - - - Gets the list of extensions to be installed as an array of base64-encoded strings. - - - - - Gets or sets the address of a Opera debugger server to connect to. - Should be of the form "{hostname|IP address}:port". - - - - - Gets or sets the directory in which to store minidump files. - - - - - Provides a mechanism to get elements off the page for test - - - - - Initializes a new instance of the class - - Driver in use - Id of the element - - - - Allows the user to specify the name of an argument to be used on the command line for PhantomJS. - - - - - Initializes a new instance of the class. - - The name of the argument to be used in the PhantomJS command line. - - - - Gets the name of the argument to be used in the PhantomJS command line. - - - - - Provides a way to access PhantomJS to run your tests by creating a PhantomJSDriver instance - - - When the WebDriver object has been instantiated the browser will load. The test can then navigate to the URL under test and - start your test. - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new PhantomJSDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - driver.Dispose(); - } - } - - - - - - Command name of the PhantomJS-specific command to execute native script in PhantomJS. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the desired options. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified driver service. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing PhantomJS.exe. - - The full path to the directory containing PhantomJS.exe. - - - - Initializes a new instance of the class using the specified path - to the directory containing PhantomJS.exe and options. - - The full path to the directory containing PhantomJS.exe. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing PhantomJS.exe, options, and command timeout. - - The full path to the directory containing PhantomJS.exe. - The used to initialize the driver. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified - and options. - - The to use. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified . - - The to use. - The used to initialize the driver. - The maximum amount of time to wait for each command. - - - - Execute a PhantomJS script fragment. Provides extra functionality not found in WebDriver - but available in PhantomJS. - - The fragment of PhantomJS JavaScript to execute. - List of arguments to pass to the function that the script is wrapped in. - These can accessed in the script as 'arguments[0]', 'arguments[1]','arguments[2]', etc - - The result of the evaluation. - - - See the PhantomJS API - for details on what is available. - - - A 'page' variable pointing to currently selected page is available for use. - If there is no page yet, one is created. - - - When overriding any callbacks be sure to wrap in a try/catch block, as failures - may cause future WebDriver calls to fail. - - - Certain callbacks are used by GhostDriver (the PhantomJS WebDriver implementation) - already. Overriding these may cause the script to fail. It's a good idea to check - for existing callbacks before overriding. - - - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The PhantomJS driver does not allow a file detector to be set, - as PhantomJS only allows uploads from the local computer environment. - Attempting to set this property has no effect, but does not throw an - exception. If you are attempting to run the PhantomJS driver remotely, - use in conjunction with a standalone - WebDriver server. - - - - Exposes the service provided by the native PhantomJS executable and GhostDriver JavaScript library. - - - - - Prevents a default instance of the class from being created. - - - This constructor is only used by the unit tests. It should not be - used in any other circumstances. - - - - - Initializes a new instance of the class. - - The full path to the PhantomJS executable. - The file name of the PhantomJS executable. - The port on which the IEDriverServer executable should listen. - - - - Creates a default instance of the PhantomJSDriverService. - - A PhantomJSDriverService that implements default settings. - - - - Creates a default instance of the PhantomJSDriverService using a specified path to the PhantomJS executable. - - The directory containing the PhantomJS executable. - A PhantomJSDriverService using a random port. - - - - Creates a default instance of the PhantomJSDriverService using a specified path to the PhantomJS executable with the given name. - - The directory containing the PhantomJS executable. - The name of the PhantomJS executable file. - A PhantomJSDriverService using a random port. - - - - Adds a single argument to the list of arguments to be appended to the PhantomJS.exe command line. - - The argument to add. - - - - Adds arguments to be appended to the PhantomJS.exe command line. - - An array of arguments to add. - - - - Adds arguments to be appended to the PhantomJS.exe command line. - - An object of arguments to add. - - - - Serializes the service options to JSON to be used as a configuration file for PhantomJS.exe (via the --config argument). - - The JSON representation of the configured service options. - - - - Gets or sets the file name used to store the persistent cookies. - - - - - Gets or sets a value indicating whether the disk cache is enabled (at desktop services cache storage location, default is no). - - - - - Gets or sets a value indicating whether SSL errors are ignored, such as expired or self-signed certificate errors (default is no). - - - - - Gets or sets a value indicating whether all inlined images are loaded (default is yes). - - - - - Gets or sets the path to save LocalStorage content and WebSQL content. - - - - - Gets or sets the maximum size to allow for data. - - - - - Gets or sets a value indicating whether local content is allowed to access remote URL (default is no). - - - - - Gets or sets the size limit of the disk cache in KB. - - - - - Gets or sets the encoding used for terminal output (default is "utf8"). - - - - - Gets or sets the proxy server information (in the format of {address} or {address}:{port}). - - - - - Gets or sets the type of the proxy server ('http', 'socks5' or 'none'). - - - - - Gets or sets the proxy authentication info (e.g. username:password). - - - - - Gets or sets the encoding used for the starting script (default is "utf8"). - - - - - Gets or sets the SSL protocol for secure connections ('sslv3' (default), 'sslv2', 'tlsv1' or 'any'). - - - - - Gets or sets the location for custom CA certificates (if none set, uses system default). - - - - - Gets or sets a value indicating whether web security is enabled and forbids cross-domain XHR (default is yes). - - - - - Gets or sets the location where the GhostDriver JavaScript file is located. This - allows the use of an external implementation of GhostDriver instead of the - implementation embedded inside the PhantomJS executable. - - - - - Gets or sets the IP address to use when starting the GhostDriver implementation - embedded in PhantomJS. - - - - - Gets or sets the URL of a Selenium Grid hub with which this PhantomJS instance should register. - - - - - Gets or sets the location of the log file to which PhantomJS will write log - output. If this value is or an empty string, the log - output will be written to the console window. - - - - - Gets the list of arguments appended to the PhantomJS command line as a string array. - - - - - Gets or sets the path to the JSON configuration file (in lieu of providing any other parameters). - - If a instance is serialized to JSON, it can be saved to a - file and used as a JSON configuration source for the PhantomJS.exe process. - - - var configOptions = PhantomJSDriverService.CreateDefaultService() - { - CookiesFile = "cookiesFile", - DiskCache = true, - IgnoreSslErrors = true, - LoadImages = true, - LocalToRemoteUrlAccess = true, - MaxDiskCacheSize = 1000, - OutputEncoding = "abc", - Proxy = "address:999", - ProxyType = "socks5", - ScriptEncoding = "def", - SslProtocol = "sslv2", - WebSecurity = true, - }; - - string json = configOptions.ToJson(); - - File.WriteAllText(@"C:\temp\myconfig.json", json); - - var driverService = PhantomJSDriver.CreateDefaultService(); - driverService.ConfigFile = @"C:\temp\myconfig.json"; - - var driver = new PhantomJSDriver(driverService); // Launches PhantomJS.exe using JSON configuration file. - - - - - - Gets the command-line arguments for the driver service. - - - - - Class to manage options specific to - - - PhantomJSOptions options = new PhantomJSOptions(); - - - - For use with PhantomJSDriver: - - - - PhantomJSDriver driver = new PhantomJSDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the PhantomJS driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling where - has already been added will overwrite the existing value with the new value in - - - - Returns DesiredCapabilities for PhantomJS with these options included as - capabilities. This copies the options. Further changes will not be - reflected in the returned capabilities. - - The DesiredCapabilities for PhantomJS with these options. - - - - PhantomJSWebElement allows you to have access to specific items that are found on the page. - - - - - - [Test] - public void TestGoogle() - { - driver = new PhantomJSDriver(); - PhantomJSWebElement elem = driver.FindElement(By.Name("q")); - elem.SendKeys("Cheese please!"); - } - - - - - - Initializes a new instance of the class. - - Driver in use. - ID of the element. - - - - Provides types of capabilities for the DesiredCapabilities object. - - - - - Capability name used for the browser name. - - - - - Capability name used for the browser platform. - - - - - Capability name used for the browser version. - - - - - Capability name used to indicate whether JavaScript is enabled for the browser. - - - - - Capability name used to indicate whether the browser can take screenshots. - - - - - Capability name used to indicate whether the browser can handle alerts. - - - - - Capability name used to indicate whether the browser can find elements via CSS selectors. - - - - - Capability name used for the browser proxy. - - - - - Capability name used to indicate whether the browser supports rotation. - - - - - Capability name used to indicate whether the browser accepts SSL certificates. - - - - - Capability name used to indicate whether the browser uses native events. - - - - - Capability name used to indicate how the browser handles unexpected alerts. - - - - - Capability name used to indicate the page load strategy for the browser. - - - - - Capability name used to indicate the logging preferences for the session. - - - - - Capability name used to disable the check for overlapping elements. - - - - - Capability name used to enable the profiling log for the session. - - - - - Capability name used to indicate whether the driver supports geolocation context. - - - - - Capability name used to indicate whether the driver supports application cache. - - - - - Capability name used to indicate whether the driver supports web storage. - - - - - Provides a way to send commands to the remote server - - - - - Initializes a new instance of the class using a command name and a JSON-encoded string for the parameters. - - Name of the command - Parameters for the command as a JSON-encoded string. - - - - Initializes a new instance of the class for a Session - - Session ID the driver is using - Name of the command - Parameters for that command - - - - Returns a string of the Command object - - A string representation of the Command Object - - - - Gets the command parameters as a , with a string key, and an object value. - - The JSON-encoded string representing the command parameters. - A with a string keys, and an object value. - - - - Gets the SessionID of the command - - - - - Gets the command name - - - - - Gets the parameters of the command - - - - - Gets the parameters of the command as a JSON-encoded string. - - - - - Provides the execution information for a . - - - - - POST verb for the command info - - - - - GET verb for the command info - - - - - DELETE verb for the command info - - - - - Initializes a new instance of the class - - Method of the Command - Relative URL path to the resource used to execute the command - - - - Creates a web request for your command - - Uri that will have the command run against - Command to execute - A web request of what has been run - - - - Gets the URL representing the path to the resource. - - - - - Gets the HTTP method associated with the command. - - - - - Holds the information about all commands specified by the JSON wire protocol. - This class cannot be inherited, as it is intended to be a singleton, and - allowing subclasses introduces the possibility of multiple instances. - - - - - Initializes a new instance of the class. - Protected accessibility prevents a default instance from being created. - - - - - Gets the for a . - - The for which to get the information. - The for the specified command. - - - - Tries to add a command to the list of known commands. - - Name of the command. - The command information. - - if the new command has been added successfully; otherwise, . - - This method is used by WebDriver implementations to add additional custom driver-specific commands. - This method will not overwrite existing commands for a specific name, and will return - in that case. - - - - - Initializes the dictionary of commands for the CommandInfoRepository - - - - - Gets the level of the W3C WebDriver specification that this repository supports. - - - - - Class to Create the capabilities of the browser you require for . - If you wish to use default values use the static methods - - - - - Initializes a new instance of the class - - Name of the browser e.g. firefox, internet explorer, safari - Version of the browser - The platform it works on - - - - Initializes a new instance of the class - - - - - Initializes a new instance of the class - - Dictionary of items for the remote driver - - - DesiredCapabilities capabilities = new DesiredCapabilities(new Dictionary]]>(){["browserName","firefox"],["version",string.Empty],["javaScript",true]}); - - - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Firefox - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Firefox - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Internet Explorer - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Microsoft Edge - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with HTMLUnit - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with HTMLUnit with JS - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with iPhone - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with iPad - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Chrome - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Android - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Opera - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Safari - - - - Gets a value indicating whether the browser has a given capability. - - The capability to get. - Returns if the browser has the capability; otherwise, . - - - - Gets a capability of the browser. - - The capability to get. - An object associated with the capability, or - if the capability is not set on the browser. - - - - Sets a capability of the browser. - - The capability to get. - The value for the capability. - - - - Converts the object to a . - - The containing the capabilities. - - - - Return HashCode for the DesiredCapabilities that has been created - - Integer of HashCode generated - - - - Return a string of capabilities being used - - String of capabilities being used - - - - Compare two DesiredCapabilities and will return either true or false - - DesiredCapabilities you wish to compare - true if they are the same or false if they are not - - - - Gets the browser name - - - - - Gets or sets the platform - - - - - Gets the browser version - - - - - Gets or sets a value indicating whether the browser is JavaScript enabled - - - - - Gets the internal capabilities dictionary. - - - - - Values describing the list of commands understood by a remote server using the JSON wire protocol. - - - - - Represents the Define Driver Mapping command - - - - - Represents the Status command. - - - - - Represents a New Session command - - - - - Represents the Get Session List command - - - - - Represents the Get Session Capabilities command - - - - - Represents a Browser close command - - - - - Represents a browser quit command - - - - - Represents a GET command - - - - - Represents a Browser going back command - - - - - Represents a Browser going forward command - - - - - Represents a Browser refreshing command - - - - - Represents adding a cookie command - - - - - Represents getting all cookies command - - - - - Represents getting cookie command - - - - - Represents deleting a cookie command - - - - - Represents Deleting all cookies command - - - - - Represents FindElement command - - - - - Represents FindElements command - - - - - Represents FindChildElement command - - - - - Represents FindChildElements command - - - - - Describes an element - - - - - Represents ClearElement command - - - - - Represents ClickElement command - - - - - Represents SendKeysToElements command - - - - - Represents TapElement command - - - - - Represents SubmitElement command - - - - - Represents GetCurrentWindowHandle command - - - - - Represents GetWindowHandles command - - - - - Represents SwitchToWindow command - - - - - Represents SwitchToFrame command - - - - - Represents SwitchToParentFrame command - - - - - Represents GetActiveElement command - - - - - Represents GetCurrentUrl command - - - - - Represents GetPageSource command - - - - - Represents GetTitle command - - - - - Represents ExecuteScript command - - - - - Represents ExecuteAsyncScript command - - - - - Represents GetElementText command - - - - - Represents GetElementTagName command - - - - - Represents IsElementSelected command - - - - - Represents IsElementEnabled command - - - - - Represents IsElementDisplayed command - - - - - Represents GetElementLocation command - - - - - Represents GetElementLocationOnceScrolledIntoView command - - - - - Represents GetElementSize command - - - - - Represents GetElementRect command - - - - - Represents GetElementAttribute command - - - - - Represents GetElementProperty command - - - - - Represents GetElementValueOfCSSProperty command - - - - - Represents ElementEquals command - - - - - Represents Screenshot command - - - - - Represents the ElementScreenshot command - - - - - Represents GetOrientation command - - - - - Represents SetOrientation command - - - - - Represents GetWindowSize command - - - - - Represents SetWindowSize command - - - - - Represents GetWindowPosition command - - - - - Represents SetWindowPosition command - - - - - Represents MaximizeWindow command - - - - - Represents FullScreenWindow command - - - - - Represents the DismissAlert command - - - - - Represents the AcceptAlert command - - - - - Represents the GetAlertText command - - - - - Represents the SetAlertValue command - - - - - Represents the Authenticate command - - - - - Represents the ImplicitlyWait command - - - - - Represents the SetAsyncScriptTimeout command - - - - - Represents the SetTimeout command - - - - - Represents the Actions command. - - - - - Represents the MouseClick command. - - - - - Represents the MouseDoubleClick command. - - - - - Represents the MouseDown command. - - - - - Represents the MouseUp command. - - - - - Represents the MouseMoveTo command. - - - - - Represents the SendKeysToActiveElement command. - - - - - Represents the UploadFile command. - - - - - Represents the TouchSingleTap command. - - - - - Represents the TouchPress command. - - - - - Represents the TouchRelease command. - - - - - Represents the TouchMove command. - - - - - Represents the TouchScroll command. - - - - - Represents the TouchDoubleTap command. - - - - - Represents the TouchLongPress command. - - - - - Represents the TouchFlick command. - - - - - Represents the GetLocation command. - - - - - Represents the SetLocation command. - - - - - Represents the GetAppCache command. - - - - - Represents the application cache GetStatus command. - - - - - Represents the ClearAppCache command. - - - - - Represents the GetLocalStorageItem command. - - - - - Represents the GetLocalStorageKeys command. - - - - - Represents the SetLocalStorageItem command. - - - - - Represents the RemoveLocalStorageItem command. - - - - - Represents the ClearLocalStorage command. - - - - - Represents the GetLocalStorageSize command. - - - - - Represents the GetSessionStorageItem command. - - - - - Represents the GetSessionStorageKeys command. - - - - - Represents the SetSessionStorageItem command. - - - - - Represents the RemoveSessionStorageItem command. - - - - - Represents the ClearSessionStorage command. - - - - - Represents the GetSessionStorageSize command. - - - - - Represents the GetAvailableLogTypes command. - - - - - Represents the GetLog command. - - - - - Provides a mechanism to execute commands on the browser - - - - - Initializes a new instance of the class. - - The that drives the browser. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class. - - The that drives the browser. - The maximum amount of time to wait for each command. - - if the KeepAlive header should be sent - with HTTP requests; otherwise, . - - - - Executes a command - - The command you wish to execute - A response from the browser - - - - Gets the object associated with this executor. - - - - - Provides a way to store errors from a response - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified values. - - A containing names and values of - the properties of this . - - - - Gets or sets the message from the response - - - - - Gets or sets the class name that threw the error - - - - - Gets or sets the screenshot of the error - - - - - Gets or sets the stack trace of the error - - - - - Provides a way of executing Commands over HTTP - - - - - Initializes a new instance of the class - - Address of the WebDriver Server - The timeout within which the server must respond. - - - - Initializes a new instance of the class - - Address of the WebDriver Server - The timeout within which the server must respond. - - if the KeepAlive header should be sent - with HTTP requests; otherwise, . - - - - Executes a command - - The command you wish to execute - A response from the browser - - - - Gets the repository of objects containin information about commands. - - - - - Represents a file detector for determining whether a file - must be uploaded to a remote server. - - - - - Returns a value indicating whether a specified key sequence represents - a file name and path. - - The sequence to test for file existence. - - if the key sequence represents a file; otherwise, . - - - - Defines the interface through which the user can manipulate JavaScript alerts. - - - - - Initializes a new instance of the class. - - The for which the alerts will be managed. - - - - Dismisses the alert. - - - - - Accepts the alert. - - - - - Sends keys to the alert. - - The keystrokes to send. - - - - Sets the user name and password in an alert prompting for credentials. - - The user name to set. - The password to set. - - - - Gets the text of the alert. - - - - - Defines the interface through which the user can manipulate application cache. - - - - - Initializes a new instance of the class. - - The for which the application cache will be managed. - - - - Gets the current state of the application cache. - - - - - Defines an interface allowing the user to manipulate cookies on the current page. - - - - - Initializes a new instance of the class. - - The driver that is currently in use - - - - Method for creating a cookie in the browser - - - that represents a cookie in the browser - - - - Delete the cookie by passing in the name of the cookie - - The name of the cookie that is in the browser - - - - Delete a cookie in the browser by passing in a copy of a cookie - - An object that represents a copy of the cookie that needs to be deleted - - - - Delete All Cookies that are present in the browser - - - - - Method for returning a getting a cookie by name - - name of the cookie that needs to be returned - A Cookie from the name - - - - Method for getting a Collection of Cookies that are present in the browser - - ReadOnlyCollection of Cookies in the browser - - - - Gets all cookies defined for the current page. - - - - - Defines the interface through which the user can discover where an element is on the screen. - - - - - Initializes a new instance of the class. - - The to be located. - - - - Gets the location of an element in absolute screen coordinates. - - - - - Gets the location of an element relative to the origin of the view port. - - - - - Gets the location of an element's position within the HTML DOM. - - - - - Gets a locator providing a user-defined location for this element. - - - - - Defines the interface through which the user can execute advanced keyboard interactions. - - - - - Initializes a new instance of the class. - - The for which the keyboard will be managed. - - - - Sends a sequence of keystrokes to the target. - - A string representing the keystrokes to send. - - - - Presses a key. - - The key value representing the key to press. - The key value must be one of the values from the class. - - - - Releases a key. - - The key value representing the key to release. - The key value must be one of the values from the class. - - - - Defines the interface through which the user can manipulate local storage. - - - - - Initializes a new instance of the class. - - The for which the application cache will be managed. - - - - Returns local storage value given a key. - - The key value for the item in storage. - A local storage value given a key, if present, otherwise returns null. - - - - Returns a read-only list of local storage keys. - - A read-only list of local storage keys. - - - - Sets local storage entry using given key/value pair. - - local storage key - local storage value - - - - Removes local storage entry for the given key. - - key to be removed from the list - Response value for the given key. - - - - Removes all entries from the local storage. - - - - - Gets the number of items in local storage. - - - - - Defines the interface through which the user can manipulate browser location. - - - - - Initializes a new instance of the class. - - The for which the application cache will be managed. - - - - Gets or sets a value indicating the physical location of the browser. - - - - - Provides a mechanism for examining logs for the driver during the test. - - - - - Initializes a new instance of the class. - - Instance of the driver currently in use - - - - Gets the set of objects for a specified log. - - The log for which to retrieve the log entries. - Log types can be found in the class. - The list of objects for the specified log. - - - - Gets the list of available log types for this driver. - - - - - Defines the interface through which the user can execute advanced mouse interactions. - - - - - Initializes a new instance of the class. - - The for which the mouse will be managed. - - - - Clicks at a set of coordinates using the primary mouse button. - - An describing where to click. - - - - Double-clicks at a set of coordinates. - - A describing where to double-click. - - - - Presses the primary mouse button at a set of coordinates. - - A describing where to press the mouse button down. - - - - Releases the primary mouse button at a set of coordinates. - - A describing where to release the mouse button. - - - - Moves the mouse to the specified set of coordinates. - - A describing where to move the mouse to. - - - - Moves the mouse to the specified set of coordinates. - - A describing where to click. - A horizontal offset from the coordinates specified in . - A vertical offset from the coordinates specified in . - - - - Clicks at a set of coordinates using the secondary mouse button. - - A describing where to click. - - - - Provides a mechanism for Navigating with the driver. - - - - - Initializes a new instance of the class - - Driver in use - - - - Move the browser back - - - - - Move the browser forward - - - - - Navigate to a url for your test - - String of where you want the browser to go to - - - - Navigate to a url for your test - - Uri object of where you want the browser to go to - - - - Refresh the browser - - - - - Provides a mechanism for setting options needed for the driver during the test. - - - - - Initializes a new instance of the class - - Instance of the driver currently in use - - - - Provides access to the timeouts defined for this driver. - - An object implementing the interface. - - - - Gets an object allowing the user to manipulate cookies on the page. - - - - - Gets an object allowing the user to manipulate the currently-focused browser window. - - "Currently-focused" is defined as the browser window having the window handle - returned when IWebDriver.CurrentWindowHandle is called. - - - - Gets an object allowing the user to examine the logs of the current driver instance. - - - - - Defines the interface through which the user can manipulate session storage. - - - - - Initializes a new instance of the class. - - The driver instance. - - - - Returns session storage value given a key. - - The key of the item in storage. - A session storage value given a key, if present, otherwise return null. - - - - Returns a read-only list of session storage keys. - - A read-only list of session storage keys. - - - - Sets session storage entry using given key/value pair. - - Session storage key - Session storage value - - - - Removes session storage entry for the given key. - - key to be removed from the list - Response value for the given key. - - - - Removes all entries from the session storage. - - - - - Gets the number of items in session storage. - - - - - Provides a mechanism for finding elements on the page with locators. - - - - - Initializes a new instance of the class - - The driver that is currently in use - - - - Move to a different frame using its index - - The index of the - A WebDriver instance that is currently in use - - - - Move to different frame using its name - - name of the frame - A WebDriver instance that is currently in use - - - - Move to a frame element. - - a previously found FRAME or IFRAME element. - A WebDriver instance that is currently in use. - - - - Select the parent frame of the currently selected frame. - - An instance focused on the specified frame. - - - - Change to the Window by passing in the name - - Window handle or name of the window that you wish to move to - A WebDriver instance that is currently in use - - - - Change the active frame to the default - - Element of the default - - - - Finds the active element on the page and returns it - - Element that is active - - - - Switches to the currently active modal dialog for this particular driver instance. - - A handle to the dialog. - - - - Defines the interface through which the user can define timeouts. - - - - - Initializes a new instance of the class - - The driver that is currently in use - - - - Specifies the amount of time the driver should wait when searching for an - element if it is not immediately present. - - A structure defining the amount of time to wait. - A self reference - - When searching for a single element, the driver should poll the page - until the element has been found, or this timeout expires before throwing - a . When searching for multiple elements, - the driver should poll the page until at least one element has been found - or this timeout has expired. - - Increasing the implicit wait timeout should be used judiciously as it - will have an adverse effect on test run time, especially when used with - slower location strategies like XPath. - - - - - Specifies the amount of time the driver should wait when executing JavaScript asynchronously. - - A structure defining the amount of time to wait. - Setting this parameter to will allow the script to run indefinitely. - A self reference - - - - Specifies the amount of time the driver should wait for a page to load when setting the property. - - A structure defining the amount of time to wait. - Setting this parameter to will allow the page to load indefinitely. - A self reference - - - - Defines the interface through which the user can execute advanced touch screen interactions. - - - - - Initializes a new instance of the class. - - The for which the touch screen will be managed. - - - - Allows the execution of single tap on the screen, analogous to click using a Mouse. - - The object representing the location on the screen, - usually an . - - - - Allows the execution of the gesture 'down' on the screen. It is typically the first of a - sequence of touch gestures. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Allows the execution of the gesture 'up' on the screen. It is typically the last of a - sequence of touch gestures. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Allows the execution of the gesture 'move' on the screen. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Creates a scroll gesture that starts on a particular screen location. - - The object representing the location on the screen - where the scroll starts, usually an . - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Creates a scroll gesture for a particular x and y offset. - - The horizontal offset relative to the view port. - The vertical offset relative to the view port. - - - - Allows the execution of double tap on the screen, analogous to click using a Mouse. - - The object representing the location on the screen, - usually an . - - - - Allows the execution of a long press gesture on the screen. - - The object representing the location on the screen, - usually an . - - - - Creates a flick gesture for the current view. - - The horizontal speed in pixels per second. - The vertical speed in pixels per second. - - - - Creates a flick gesture for the current view starting at a specific location. - - The object representing the location on the screen - where the scroll starts, usually an . - The x offset relative to the viewport. - The y offset relative to the viewport. - The speed in pixels per second. - - - - Provides remote access to the API. - - - - - Initializes a new instance of the class. - - The driver instance. - - - - Gets the local storage for the site currently opened in the browser. - - - - - Gets the session storage for the site currently opened in the browser. - - - - - Defines the interface through which the user can manipulate the browser window. - - - - - Initializes a new instance of the class. - - Instance of the driver currently in use - - - - Maximizes the current window if it is not already maximized. - - - - - Gets or sets the position of the browser window relative to the upper-left corner of the screen. - - When setting this property, it should act as the JavaScript window.moveTo() method. - - - - Gets or sets the size of the outer browser window, including title bars and window borders. - - When setting this property, it should act as the JavaScript window.resizeTo() method. - - - - Handles reponses from the browser - - - - - Initializes a new instance of the class - - - - - Initializes a new instance of the class - - Session ID in use - - - - Returns a new from a JSON-encoded string. - - The JSON string to deserialize into a . - A object described by the JSON string. - - - - Returns this object as a JSON-encoded string. - - A JSON-encoded string representing this object. - - - - Returns the object as a string. - - A string with the Session ID, status value, and the value from JSON. - - - - Gets or sets the value from JSON. - - - - - Gets or sets the session ID. - - - - - Gets or sets the status value of the response. - - - - - Gets a value indicating whether this response is compliant with the WebDriver specification. - - - - - Provides a mechanism for maintaining a session for a test - - - - - Initializes a new instance of the class - - Key for the session in use - - - - Get the value of the key - - The key in use - - - - Get the hash code of the key - - The hash code of the key - - - - Compares two Sessions - - Session to compare - True if they are equal or False if they are not - - - - Gives properties to get a stack trace - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the given property values. - - A containing the names and values for the properties of this . - - - - Gets a string representation of the object. - - A string representation of the object. - - - - Gets or sets the value of the filename in the stack - - - - - Gets or sets the value of the Class name in the stack trace - - - - - Gets or sets the line number - - - - - Gets or sets the Method name in the stack trace - - - - - Holds the information about all commands specified by the JSON wire protocol. - This class cannot be inherited, as it is intended to be a singleton, and - allowing subclasses introduces the possibility of multiple instances. - - - - - Initializes a new instance of the class. - - - - - Initializes the dictionary of commands for the CommandInfoRepository - - - - - Gets the level of the W3C WebDriver specification that this repository supports. - - - - - Represents an error condition from a remote end using the W3C specification - dialect of the wire protocol. - - - - - Represents the element not selectable error. - - - - - Represents the element not visible error. - - - - - Represents the invalid argument error. - - - - - Represents the invalid element coordinates error. - - - - - Represents the invalid element state error. - - - - - Represents the invalid selector error. - - - - - Represents the invalid session ID error. - - - - - Represents the unhandled JavaScript error. - - - - - Represents the move target out of bounds error. - - - - - Represents the no such alert error. - - - - - Represents the no such element error. - - - - - Represents the no such alert frame. - - - - - Represents the no such alert window. - - - - - Represents the script timeout error. - - - - - Represents the session not created error. - - - - - Represents the stale element reference error. - - - - - Represents the timeout error. - - - - - Represents the unable to set cookie error. - - - - - Represents the unable to capture screen error. - - - - - Represents the unexpected alert open error. - - - - - Represents the unknown command error. - - - - - Represents an unknown error. - - - - - Represents the unknown method error. - - - - - Represents the unsupported operation error. - - - - - Converts a string error to a value. - - The error string to convert. - The converted value. - - - - Holds the information about all commands specified by the JSON wire protocol. - This class cannot be inherited, as it is intended to be a singleton, and - allowing subclasses introduces the possibility of multiple instances. - - - - - Initializes a new instance of the class. - - - - - Initializes the dictionary of commands for the CommandInfoRepository - - - - - Gets the level of the W3C WebDriver specification that this repository supports. - - - - - Provides a way to convert a Char array to JSON - - - - - Checks if the object can be converted - - Type of the object to see if can be converted - True if can be converted else false - - - - Writes the Object to JSON - - A JSON Writer object - Object to be converted - JSON Serializer object instance - - - - Method not implemented - - JSON Reader instance - Object type being read - Existing Value to be read - JSON Serializer instance - Object from JSON - - - - Converts the response to JSON - - - - - Checks if the object can be converted - - The object to be converted - True if it can be converted or false if can't be - - - - Process the reader to return an object from JSON - - A JSON reader - Type of the object - The existing value of the object - JSON Serializer - Object created from JSON - - - - Writes objects to JSON. Currently not implemented - - JSON Writer Object - Value to be written - JSON Serializer - - - - Wraps a command object to give it a unique ID as required by the Safari extension. - - - - - Initializes a new instance of the class. - - The object used as a base for this . - - - - Gets the ID of the command. - - - - - Creates a WebSockets command message according to the SafariDriver specification. - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Gets the origin of the WebSocket message. - - - - - Gets the type of the WebSocket message. - - - - - Gets the wrapped command for transport. - - - - - Provides a way to access Safari to run your tests by creating a SafariDriver instance - - - When the WebDriver object has been instantiated the browser will load. The test can then navigate to the URL under test and - start your test. - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new SafariDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - driver.Dispose(); - } - } - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified . - - The to use for this instance. - - - - Releases the unmanaged resources used by the and - optionally releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The Safari driver does not allow a file detector to be set, - as the server component of the Safari driver (the Safari extension) only - allows uploads from the local computer environment. Attempting to set - this property has no effect, but does not throw an exception. If you - are attempting to run the Safari driver remotely, use - in conjunction with a standalone WebDriver server. - - - - Provides a way of executing Commands using the SafariDriver. - - - - - Initializes a new instance of the class. - - The used to create the command executor. - - - - Executes a command - - The command you wish to execute - A response from the browser - - - - Releases all resources used by the . - - - - - Releases the unmanaged resources used by the and - optionally releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets the repository of objects containin information about commands. - - - - - Represents a connection to an instance of the Safari browser. - - - - - Initializes a new instance of the class. - - An representing a - connection using the WebSockets protocol. - - - - Sends a command to the SafariDriver and waits for a response. - - The to send to the driver. - The from the command. - - - - Provides the WebSockets server for communicating with the Safari extension. - - - - - Initializes a new instance of the class using the specified options. - - The defining the browser settings. - - - - Starts the server. - - - - - Sends a command to the server. - - The to send. - The command . - - - - Waits for a connection to be established with the server by the Safari browser extension. - - A containing the amount of time to wait for the connection. - A representing the connection to the browser. - - - - Releases all resources used by the . - - - - - Releases the unmanaged resources used by the and optionally - releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Class to manage options specific to - - - SafariOptions options = new SafariOptions(); - options.SkipExtensionInstallation = true; - - - - For use with SafariDriver: - - - - SafariDriver driver = new SafariDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Initializes a new instance of the class. - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Safari driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling where - has already been added will overwrite the existing value with the new value in - - - - Returns ICapabilities for Safari with these options included as - capabilities. This copies the options. Further changes will not be - reflected in the returned capabilities. - - The ICapabilities for Safari with these options. - - - - Gets or sets the install location of the Safari browser. - - - - - Gets or sets the port on which the SafariDriver will listen for commands. - - - - - Gets or sets the path to the SafariDriver.safariextz file from which the extension will be installed. - - - - - Gets or sets a value indicating whether to skip the installation of the SafariDriver extension. - - - Set this property to if the SafariDriver extension is already installed - in Safari, and you don't want to overwrite it with the version included with WebDriver. - - - - - Creates a WebSockets response message according to the SafariDriver specification. - - - - - Returns a new from a JSON-encoded string. - - The JSON string to deserialize into a . - A object described by the JSON string. - - - - Gets or sets the ID of the command. - - - - - Gets or sets the origin of the response message. - - - - - Gets or sets the type of the response message. - - - - - Gets or sets the internal response for the given command. - - - - - Provides arguments for handling the event for accepting connections. - - - - - Initializes a new instance of the class. - - The to use in the event. - - - - Gets the object to use in handling the event. - - - - - Provides arguments for handling the event for receiving a binary message. - - - - - Initializes a new instance of the class. - - The binary data in the message. - - - - Gets the binary data of the message. - - - - - Provides arguments for handling events associated with connections to the server. - - - - - Initializes a new instance of the class. - - The representing the - connection to the client. - - - - Gets the connection to the client. - - - - - Provides arguments for handling events associated with errors. - - - - - Initializes a new instance of the class. - - The thrown for the error condition. - - - - Gets the associated with the error condition. - - - - - Enumerates the types of frames described by the WebSocket protocol. - - - - - Indicates a continuation frame. - - - - - Indicates a text frame. - - - - - Indicates a binary frame. - - - - - Indicates a close frame. - - - - - Indicates a ping frame. - - - - - Indicates a ping response frame. - - - - - Provides a factory for creating handlers for the different versions of the WebSocket protocol. - - - - - Prevents a default instance of the class from being created. - - - - - Creates a handler to handle a . - - The to create the handler for. - An object that can handle the specific protocol version - of the request. - - - - Gets the version of an . - - The to get the protocol version of. - A string containing the version of the protocol of the request. - - - - Provides an exception for handshake errors in the protocol connection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The message 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 message for the exception. - The inner exception that is the cause of this exception. - - - - Initializes a new instance of the class with serialized data. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Provides an interface for handling communication over the WebSocket connection. - - - - - Processes data received by the connection. - - The data to be processed. - - - - Creates a handshake message for initiating connections. - - A byte array containing the handshake message. - - - - Creates a frame for text messages in the WebSocket protocol. - - The text of the message. - A byte array containing the message frame. - - - - Creates a frame for binary messages in the WebSocket protocol. - - The binary data of the message. - A byte array containing the message frame. - - - - Creates a frame for close messages in the WebSocket protocol. - - The connection close code of the message. - A byte array containing the message frame. - - - - Event raised when a text message is processed by the handler. - - - - - Event raised when a binary message is processed by the handler. - - - - - Event raised when a close message is processed by the handler. - - - - - Provides extension methods for converting integers. - - - - - Converts a to a big-endian byte array. - - The value to convert. - A byte array containing a big-endian representation of the value. - - - - Converts a to a big-endian byte array. - - The value to convert. - A byte array containing a big-endian representation of the value. - - - - Converts a byte array to a little-endian value. - - The byte array to convert. - The little-endian representation of the array as a . - - - - Provides an interface for parsing requests. - - - - - Parses the specified data into a . - - The data to be parsed. - The parsed . - - - - Parses the specified data into a for the given scheme. - - The data to be parsed. - The scheme to use in parsing the data. - The parsed . - - - - Provides an interface simplifying the use of asynchronous communication using a socket. - - - - - Accepts a connection for the socket. - - - - - Sends data over the socket. - - The data to be sent. - - - - Receives data over the socket. - - The buffer into which the data will be read. - The offset into the buffer at which the data will be read. - - - - Authenticates over the socket. - - An that specifies authentication information. - - - - Closes the socket connection. - - - - - Binds the socket to a local end point. - - The local end point to which to bind the socket. - - - - Starts listening to data received over the socket. - - The number of pending connections to process. - - - - Gets a value indicating whether the socket is connected. - - - - - Gets the remote IP address of the socket connection. - - - - - Gets a stream for reading and writing data. - - - - - Event raised when a connection is accepted by the socket. - - - - - Event raised when an error occurs accepting a connection. - - - - - Event raised when data is sent through the socket. - - - - - Event raised when there is an error sending data. - - - - - Event raised when data is received by the socket. - - - - - Event raised when there is an error receiving data. - - - - - Event raised when authentication is completed over the socket. - - - - - Event raised when there is an error authenticating over the socket. - - - - - Provides an interface describing a connection to a WebSocket. - - - - - Sends a text message over the connection. - - The text message to send. - - - - Sends a binary message over the connection. - - The binary message to send. - - - - Sends raw text over the connection, without passing through a handler. - - The message to send. - - - - Closes the connection. - - - - - Gets an object describing the connection. - - - - - Event raised when a connection is opened. - - - - - Event raised when a connection is closed. - - - - - Event raised when a text message is received via the connection. - - - - - Event raised when a binary message is received via the connection. - - - - - Event raised when a non-WebSocket message is received. - - - - - Event raised when an error occurs via the connection. - - - - - Event raised when data is sent via the connection. - - - - - Provides an interface describing information about the WebSocket connection. - - - - - Gets the sub-protocol of the connection. - - - - - Gets the origin of the connection. - - - - - Gets the host for the connection. - - - - - Gets the path for the connection. - - - - - Gets the IP address of the client for the connection. - - - - - Gets the collection of cookies for the connection. - - - - - Provides an interface for the server. - - - - - Starts the server. - - - - - Represents the state of a connection. - - - - - Initializes a new instance of the class. - - - - - Clears the current state. - - - - - Gets the data of the current state. - - - - - Gets or sets the frame type of the current state. - - - - - Provides arguments for handling the event for when data is received. - - - - - Initializes a new instance of the class. - - The number of bytes read. - A byte array containing the data read. - - - - Gets the number of bytes read. - - - - - Gets the data read by the connection. - - - - - Parses a request. - - - - - Initializes a new instance of the class. - - - - - Parses the specified data into a . - - The data to be parsed. - The parsed . - - - - Parses the specified data into a for the given scheme. - - The data to be parsed. - The scheme to use in parsing the data. - The parsed . - - - - Provides a wrapper around a . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Accepts a connection for the socket. - - - - - Sends data over the socket. - - The data to be sent. - - - - Receives data over the socket. - - The buffer into which the data will be read. - The offset into the buffer at which the data will be read. - - - - Authenticates over the socket. - - An that specifies authentication information. - - - - Closes the socket connection. - - - - - Binds the socket to a local end point. - - The local end point to which to bind the socket. - - - - Starts listening to data received over the socket. - - The number of pending connections to process. - - - - Releases all resources used by the . - - - - - Raises the Accepted event. - - An that contains the event data. - - - - Raises the AcceptError event. - - An that contains the event data. - - - - Raises the Sent event. - - An that contains the event data. - - - - Raises the SendError event. - - An that contains the event data. - - - - Raises the Received event. - - A that contains the event data. - - - - Raises the ReceiveError event. - - An that contains the event data. - - - - Raises the Authenticated event. - - An that contains the event data. - - - - Raises the AuthenticateError event. - - An that contains the event data. - - - - Releases the unmanaged resources used by the and optionally - releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets a value indicating whether the socket is connected. - - - - - Gets the remote IP address of the socket connection. - - - - - Gets a stream for reading and writing data. - - - - - Event raised when a connection is accepted by the socket. - - - - - Event raised when an error occurs accepting a connection. - - - - - Event raised when data is sent through the socket. - - - - - Event raised when there is an error sending data. - - - - - Event raised when data is received by the socket. - - - - - Event raised when there is an error receiving data. - - - - - Event raised when authentication is completed over the socket. - - - - - Event raised when there is an error authenticating over the socket. - - - - - Provides arguments for handling events associated with connections to the server. - - - - - Initializes a new instance of the class. - - The representing the - connection to the client. - - - - Gets the connection to the client. - - - - - Gets or sets a value indicating whether to the event was processed. - - - - - Provides arguments for handling the event for receiving a text message. - - - - - Initializes a new instance of the class. - - The text message received. - - - - Gets the text message received. - - - - - Represents a connection to a WebSocket. - - - - - Initializes a new instance of the class. - - The used in the connection. - The scheme used to parse requests. - - - - Sends a text message over the connection. - - The text message to send. - - - - Sends a binary message over the connection. - - The binary message to send. - - - - Sends raw text over the connection, without passing through a handler. - - The message to send. - - - - Closes the connection. - - - - - Starts the connection receiving requests. - - - - - Fires the MessageReceived event. - - A that contains the event data. - - - - Fires the BinaryMessageReceived event. - - A that contains the event data. - - - - Fires the Opened event. - - A that contains the event data. - - - - Fires the Closed event. - - A that contains the event data. - - - - Fires the StandardHttpRequestReceived event. - - A that contains the event data. - - - - Fires the Sent event. - - An that contains the event data. - - - - Fires the ErrorReceived event. - - An that contains the event data. - - - - Gets or sets the implementation used for communication. - - - - - Gets or sets the implementation used for parsing and handling requests. - - - - - Gets an object describing the connection. - - - - - Event raised when a connection is opened. - - - - - Event raised when a connection is closed. - - - - - Event raised when a text message is received via the connection. - - - - - Event raised when a binary message is received via the connection. - - - - - Event raised when a non-WebSocket message is received. - - - - - Event raised when an error occurs via the connection. - - - - - Event raised when data is sent via the connection. - - - - - Provides information about a WebSocket connection. - - - - - Prevents a default instance of the class from being created. - - - - - Creates a for a given request and IP address. - - The to get the connection information for. - The IP address of the client connection. - The created . - - - - Gets the sub-protocol of the connection. - - - - - Gets the origin of the connection. - - - - - Gets the host for the connection. - - - - - Gets the path for the connection. - - - - - Gets the IP address of the client for the connection. - - - - - Gets the collection of cookies for the connection. - - - - - Provides a base exception for WebSocket errors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The message 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 message for the exception. - The inner exception that is the cause of this exception. - - - - Initializes a new instance of the class with a specified status code. - - The status code of the exception. - - - - Initializes a new instance of the class with a specified status code - and error message. - - The status code of the exception. - The message for the exception. - - - - Initializes a new instance of the class with a specified status code, - error message, and a reference to the inner exception that is the cause of this exception. - - The status code for the exception. - The message for the exception. - The inner exception that is the cause of this exception. - - - - Initializes a new instance of the class with serialized data. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - Gets the status code. - - - - - Defines an HTTP request via the WebSocket protocol. - - - - - Gets or sets the HTTP method of the request. - - - - - Gets or sets the path of the request. - - - - - Gets or sets the body of the request - - - - - Gets or sets the scheme of the request. - - - - - Gets or sets the WebSocket payload of the request. - - - - - Gets the headers for the request. - - - - - Gets or sets the value associated with the specified header. - - The name of the header. - The value of the header, if it exists. If it does not exist, returns an empty string. - - - - Provides an implementation of a WebSocket server. - - - - - Initializes a new instance of the class. - - The location at which to listen for connections. - - - - Initializes a new instance of the class. - - The port on which to listen for connections. - The location at which to listen for connections. - - - - Starts the server. - - - - - Releases all resources used by the . - - - - - Raises the ConnectionOpened event. - - A that contains the event data. - - - - Raises the ConnectionClosed event. - - A that contains the event data. - - - - Raises the StandardHttpRequestReceived event. - - A that contains the event data. - - - - Raises the MessageReceived event. - - A that contains the event data. - - - - Raises the ErrorOccurred event. - - An that contains the event data. - - - - Releases the unmanaged resources used by the and optionally - releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets or sets the on which communication occurs. - - - - - Gets the location the server is listening on for connections. - - - - - Gets the port the server is listening on for connections. - - - - - Gets or sets the certificate used for authentication. - - - - - Gets a value indicating whether the connection is secure. - - - - - Event raised when a message is received from the WebSocket. - - - - - Event raised when a connection is opened. - - - - - Event raised when a connection is closed. - - - - - Event raised when an error occurs. - - - - - Event raised when a non-WebSocket message is received. - - - - - Provides status codes for the WebSocket protocol - - - - - Indicates a normal closure status. - - - - - Indicates a notification that the socket is closing. - - - - - Indicates an error in the protocol. - - - - - Indicates an attempt to transmit an unsupported data type. - - - - - Indicates no status information received. - - - - - Represents an abnormal closure of the socket. - - - - - Indicates invalid data in the frame. - - - - - Indicates a policy violation. - - - - - Indicates that the message is too big. - - - - - Indicates a mandatory extension. - - - - - Indicates an internal server error. - - - - - Indicates a TLS handshake. - - - - - Indicates an application error. - - - - - A collection of all of the status codes indicating a valid closing of the connection. - - - - - Provides the base class for handling WebSocket protocol requests. - - - - - Processes data received by the connection. - - The data to be processed. - - - - Creates a handshake message for initiating connections. - - A byte array containing the handshake message. - - - - Creates a frame for text messages in the WebSocket protocol. - - The text of the message. - A byte array containing the message frame. - - - - Creates a frame for binary messages in the WebSocket protocol. - - The binary data of the message. - A byte array containing the message frame. - - - - Creates a frame for close messages in the WebSocket protocol. - - The connection close code of the message. - A byte array containing the message frame. - - - - Receives the data from the protocol. - - - - - Gets the handshake for WebSocket protocol. - - A byte array representing the handshake in the WebSocket protocol. - - - - Prepares a text frame for the given text. - - The text for which to prepare the frame - A byte array representing the frame in the WebSocket protocol. - - - - Prepares a binary frame for the given binary data. - - The binary data for which to prepare the frame. - A byte array representing the frame in the WebSocket protocol. - - - - Prepares a close frame for the given connection. - - The code to use in closing the connection. - A byte array representing the frame in the WebSocket protocol. - - - - Raises the TextMessageHandled event. - - A that contains the event data. - - - - Raises the BinaryMessageHandled event. - - A that contains the event data. - - - - Raises the CloseHandled event. - - An that contains the event data. - - - - Gets the data to be handled by this handler. - - - - - Event raised when a text message is processed by the handler. - - - - - Event raised when a binary message is processed by the handler. - - - - - Event raised when a close message is processed by the handler. - - - - - Provides a request handler for the Hixie76 or Hybi00 version of the WebSocket protocol. - - - - - Initializes a new instance of the class. - - The to handle. - - - - Creates a new instance of the . - - The to handle. - A to perform handling of subsequent requests. - - - - Gets the handshake for WebSocket protocol. - - A byte array representing the handshake in the WebSocket protocol. - - - - Prepares a text frame for the given text. - - The text for which to prepare the frame. - A byte array representing the frame in the WebSocket protocol. - - - - Receives the data from the protocol. - - - - - Provides a handler for the RFC 6455 version of the WebSocket protocol. - - - - - Initializes a new instance of the class. - - The to handle. - - - - Creates a new instance of the handler. - - The request to handle. - A to perform handling of subsequent requests. - - - - Receives data from the protocol. - - - - - Prepares a text frame for the given text. - - The text for which to prepare the frame. - A byte array representing the frame in the WebSocket protocol. - - - - Prepares a close frame for the given connection. - - The code to use in closing the connection. - A byte array representing the frame in the WebSocket protocol. - - - - Gets the handshake for WebSocket protocol. - - A byte array representing the handshake in the WebSocket protocol. - - - - Prepares a binary frame for the given binary data. - - The binary data for which to prepare the frame. - A byte array representing the frame in the WebSocket protocol. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. - - - - - Specifies the state of the reader. - - - - - 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. - - - - - 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. - - - - - 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 . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. - - - - - 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. - - - - - 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 . - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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. - - - - 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. - - - - 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. - - - - 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. - - - - - 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. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey 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. - - - - - 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 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. - - - - 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 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 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 . - - - - - 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. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - 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. - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - 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. - - - - - 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 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. - - - - Represents a trace writer that writes to the application's instances. - - - - - 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. - - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - 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. - - - - 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. - - - - - 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). - - - - 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. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - - 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 . - - - - 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. - - - - 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. - - - - 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. - - - - 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. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - 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. - - - - 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. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - 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. - - - - 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. - - - - 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. - - - - - Instructs the how to serialize the collection. - - - - - 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. - - - - 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 typesl; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Gets the type of the converter. - - The type of the converter. - - - - 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. - - - - - 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 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 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. - - - - - 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. - - - - Sets an event handler for receiving schema validation errors. - - - - - 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. - - - - 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 how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - 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 XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - - true if the JSON root object is omitted; otherwise, false. - - - - 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). - - - - - 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. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. - - - - - 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. - - - - - 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. - - - - 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 path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - 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. - - - - 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 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. - - - - Represents a collection of . - - - - - 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 is 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 is 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 is 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 is 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 is 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 is 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 is 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 is 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 is used. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - . - - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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. - - - - 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 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. - - - - - Occurs when the errors during serialization and deserialization. - - - - - 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 token that can contain other tokens. - - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - 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. - - - - - 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 - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - 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. - - - - - 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. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - 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 with the specified property name. - - - - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Represents a JSON array. - - - - - - - - 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 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. - - - - - 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. - - - - 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. - - - - 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. - - - - - 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. - - - - 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. - - - - 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 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. - - - - 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. - - - - 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 . - - - - - 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. - - - - Used by to resolves a for a given . - - - - - 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. - - - - 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. - - - - - 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. - - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - 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. - - - - - 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. - - - - Contract details for a used by the . - - - - - 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. - - - - 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. - - - - 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - 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. - - - - 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. - - - - 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. - - - - - 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 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 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. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies 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. - - - - - Converts the value to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert the value to. - The converted type. - - - - Converts the value to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert the value to. - The converted value if the conversion was successful or the default value of T if it failed. - - true if initialValue was converted successfully; otherwise, false. - - - - - 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. - - - - - - 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. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly.true if the specified MemberInfo can be read; otherwise, false. - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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. - - - - \ No newline at end of file diff --git a/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net40/WebDriver.dll b/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net40/WebDriver.dll deleted file mode 100644 index 664139e..0000000 Binary files a/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net40/WebDriver.dll and /dev/null differ diff --git a/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net40/WebDriver.xml b/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net40/WebDriver.xml deleted file mode 100644 index 968d43d..0000000 --- a/c-sharp-rest/PetClinic/packages/Selenium.WebDriver.2.53.0/lib/net40/WebDriver.xml +++ /dev/null @@ -1,20552 +0,0 @@ - - - - WebDriver - - - - - Provides a mechanism by which to find elements within a document. - - It is possible to create your own locating mechanisms for finding documents. - In order to do this,subclass this class and override the protected methods. However, - it is expected that that all subclasses rely on the basic finding mechanisms provided - through static methods of this class. An example of this can be found in OpenQA.Support.ByIdOrName - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the given functions to find elements. - - A function that takes an object implementing - and returns the found . - A function that takes an object implementing - and returns a of the foundIWebElements. - IWebElements/>. - - - - Determines if two instances are equal. - - One instance to compare. - The other instance to compare. - - if the two instances are equal; otherwise, . - - - - Determines if two instances are unequal. - s - One instance to compare.The other instance to compare. if the two instances are not equal; otherwise, . - - - Gets a mechanism to find elements by their ID. - - The ID to find. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by their link text. - - The link text to find. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by their name. - - The name to find. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by an XPath query. - When searching within a WebElement using xpath be aware that WebDriver follows standard conventions: - a search prefixed with "//" will search the entire document, not just the children of this current node. - Use ".//" to limit your search to the children of this WebElement. - - The XPath query to use. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by their CSS class. - - The CSS class to find. - A object the driver can use to find the elements. - If an element has many classes then this will match against each of them. - For example if the value is "one two onone", then the following values for the - className parameter will match: "one" and "two". - - - - Gets a mechanism to find elements by a partial match on their link text. - - The partial link text to find. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by their tag name. - - The tag name to find. - A object the driver can use to find the elements. - - - - Gets a mechanism to find elements by their cascading style sheet (CSS) selector. - - The CSS selector to find. - A object the driver can use to find the elements. - - - - Finds the first element matching the criteria. - - An object to use to search for the elements. - The first matching on the current context. - - - - Finds all elements matching the criteria. - - An object to use to search for the elements. - A of all WebElements - matching the current criteria, or an empty list if nothing matches. - - - - Gets a string representation of the finder. - - The string displaying the finder content. - - - - Determines whether the specified Object is equal - to the current Object. - - The Object to compare with the - current Object. - - if the specified Object - is equal to the current Object; otherwise, - . - - - - Serves as a hash function for a particular type. - - A hash code for the current Object. - - - - Gets or sets the value of the description for this class instance. - - - - - Gets or sets the method used to find a single element matching specified criteria. - - - - - Gets or sets the method used to find all elements matching specified criteria. - - - - - Represents a cookie in the browser. - - - - - Initializes a new instance of the class with a specific name, - value, domain, path and expiration date. - - The name of the cookie. - The value of the cookie. - The domain of the cookie. - The path of the cookie. - The expiration date of the cookie. - If the name is or an empty string, - or if it contains a semi-colon. - If the value is . - - - - Initializes a new instance of the class with a specific name, - value, path and expiration date. - - The name of the cookie. - The value of the cookie. - The path of the cookie. - The expiration date of the cookie. - If the name is or an empty string, - or if it contains a semi-colon. - If the value is . - - - - Initializes a new instance of the class with a specific name, - value, and path. - - The name of the cookie. - The value of the cookie. - The path of the cookie. - If the name is or an empty string, - or if it contains a semi-colon. - If the value is . - - - - Initializes a new instance of the class with a specific name and value. - - The name of the cookie. - The value of the cookie. - If the name is or an empty string, - or if it contains a semi-colon. - If the value is . - - - - Converts a Dictionary to a Cookie. - - The Dictionary object containing the cookie parameters. - A object with the proper parameters set. - - - - Creates and returns a string representation of the cookie. - - A string representation of the cookie. - - - - Determines whether the specified Object is equal - to the current Object. - - The Object to compare with the - current Object. - - if the specified Object - is equal to the current Object; otherwise, - . - - - - Serves as a hash function for a particular type. - - A hash code for the current Object. - - - - Gets the name of the cookie. - - - - - Gets the value of the cookie. - - - - - Gets the domain of the cookie. - - - - - Gets the path of the cookie. - - - - - Gets a value indicating whether the cookie is secure. - - - - - Gets a value indicating whether the cookie is an HTTP-only cookie. - - - - - Gets the expiration date of the cookie. - - - - - Gets the cookie expiration date in seconds from the defined zero date (01 January 1970 00:00:00 UTC). - - This property only exists so that the JSON serializer can serialize a - cookie without resorting to a custom converter. - - - - Defines an object responsible for detecting sequences of keystrokes - representing file paths and names. - - - - - Returns a value indicating whether a specified key sequence represents - a file name and path. - - The sequence to test for file existence. - - if the key sequence represents a file; otherwise, . - - - - Represents the default file detector for determining whether a file - must be uploaded to a remote server. - - - - - Returns a value indicating whether a specified key sequence represents - a file name and path. - - The sequence to test for file existence. - This method always returns in this implementation. - - - - Base class for managing options specific to a browser driver. - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the specific browser driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling - where has already been added will overwrite the - existing value with the new value in . - - - - - Returns DesiredCapabilities for the specific browser driver with these - options included ascapabilities. This does not copy the options. Further - changes will be reflected in the returned capabilities. - - The DesiredCapabilities for browser driver with these options. - - - - Sets the logging preferences for this driver. - - The type of log for which to set the preference. - Known log types can be found in the class. - The value to which to set the log level. - - - - Generates the logging preferences dictionary for transmission as a desired capability. - - The dictionary containing the logging preferences. - - - - Provides a way to start a server that understands remote commands - - - - - Starts the server. - - - - - Exposes the service provided by a native WebDriver server executable. - - - - - Initializes a new instance of the class. - - The full path to the directory containing the executable providing the service to drive the browser. - The port on which the driver executable should listen. - The file name of the driver service executable. - A URL at which the driver service executable may be downloaded. - - If the path specified is or an empty string. - - - If the specified driver service executable does not exist in the specified directory. - - - - - Releases all resources associated with this . - - - - - Starts the DriverService. - - - - - Finds the specified driver service executable. - - The file name of the executable to find. - A URL at which the driver service executable may be downloaded. - The directory containing the driver service executable. - - If the specified driver service executable does not exist in the current directory or in a directory on the system path. - - - - - Releases all resources associated with this . - - - if the Dispose method was explicitly called; otherwise, . - - - - Stops the DriverService. - - - - - Waits until a the service is initialized, or the timeout set - by the property is reached. - - - if the service is properly started and receiving HTTP requests; - otherwise; . - - - - Gets the Uri of the service. - - - - - Gets or sets the port of the service. - - - - - Gets or sets a value indicating whether the initial diagnostic information is suppressed - when starting the driver server executable. Defaults to , meaning - diagnostic information should be shown by the driver server executable. - - - - - Gets a value indicating whether the service is running. - - - - - Gets or sets a value indicating whether the command prompt window of the service should be hidden. - - - - - Gets the process ID of the running driver service executable. Returns 0 if the process is not running. - - - - - Gets the executable file name of the driver service. - - - - - Gets the command-line arguments for the driver service. - - - - - Gets a value indicating the time to wait for an initial connection before timing out. - - - - - Gets a value indicating the time to wait for the service to terminate before forcing it to terminate. - - - - - Gets a value indicating whether the service is responding to HTTP requests. - - - - - Represents exceptions that are thrown when an error occurs during actions. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an element is not visible. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an element is not visible. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Defines the interface through which the user can manipulate JavaScript alerts. - - - - - Dismisses the alert. - - - - - Accepts the alert. - - - - - Sends keys to the alert. - - The keystrokes to send. - - - - Sets the user name and password in an alert prompting for credentials. - - The user name to set. - The password to set. - - - - Gets the text of the alert. - - - - - Interface determining whether the driver implementation allows detection of files - when sending keystrokes to a file upload element. - - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - - - - Capabilities of the browser that you are going to use - - - - - Gets a value indicating whether the browser has a given capability. - - The capability to get. - Returns if the browser has the capability; otherwise, . - - - - Gets a capability of the browser. - - The capability to get. - An object associated with the capability, or - if the capability is not set on the browser. - - - - Gets the browser name - - - - - Gets the platform - - - - - Gets the browser version - - - - - Gets a value indicating whether the browser is JavaScript enabled - - - - - Defines an interface allowing the user to manipulate cookies on the current page. - - - - - Adds a cookie to the current page. - - The object to be added. - - - - Gets a cookie with the specified name. - - The name of the cookie to retrieve. - The containing the name. Returns - if no cookie with the specified name is found. - - - - Deletes the specified cookie from the page. - - The to be deleted. - - - - Deletes the cookie with the specified name from the page. - - The name of the cookie to be deleted. - - - - Deletes all cookies from the page. - - - - - Gets all cookies defined for the current page. - - - - - Defines the interface through which the user can determine the capabilities of a driver. - - - - - Gets the object describing the driver's capabilities. - - - - - Provides access to input devices for advanced user interactions. - - - - - Gets an object for sending keystrokes to the browser. - - - - - Gets an object for sending mouse commands to the browser. - - - - - Interface implemented by each driver that allows access to touch screen capabilities. - - - - - Gets the device representing the touch screen. - - - - - Defines the interface through which the user can execute JavaScript. - - - - - Executes JavaScript in the context of the currently selected frame or window. - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - The method executes JavaScript in the context of - the currently selected frame or window. This means that "document" will refer - to the current document. If the script has a return value, then the following - steps will be taken: - - - - - For an HTML element, this method returns a - - - For a number, a is returned - - - For a boolean, a is returned - - - For all other cases a is returned. - - - For an array,we check the first element, and attempt to return a - of that type, following the rules above. Nested lists are not - supported. - - - If the value is null or there is no return value, - is returned. - - - - - Arguments must be a number (which will be converted to a ), - a , a or a . - An exception will be thrown if the arguments do not meet these criteria. - The arguments will be made available to the JavaScript via the "arguments" magic - variable, as if the function were called via "Function.apply" - - - - - - Executes JavaScript asynchronously in the context of the currently selected frame or window. - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - - Provides methods representing basic keyboard actions. - - - - - Sends a sequence of keystrokes to the target. - - A string representing the keystrokes to send. - - - - Presses a key. - - The key value representing the key to press. - The key value must be one of the values from the class. - - - - Releases a key. - - The key value representing the key to release. - The key value must be one of the values from the class. - - - - Defines the interface through which the user can discover where an element is on the screen. - - - - - Gets the location of an element on the screen, scrolling it into view - if it is not currently on the screen. - - - - - Gets the coordinates identifying the location of this element using - various frames of reference. - - - - - Interface allowing handling of driver logs. - - - - - Gets the set of objects for a specified log. - - The log for which to retrieve the log entries. - Log types can be found in the class. - The list of objects for the specified log. - - - - Gets the list of available log types for this driver. - - - - - Provides methods representing basic mouse actions. - - - - - Clicks at a set of coordinates using the primary mouse button. - - An describing where to click. - - - - Double-clicks at a set of coordinates. - - A describing where to double-click. - - - - Presses the primary mouse button at a set of coordinates. - - A describing where to press the mouse button down. - - - - Releases the primary mouse button at a set of coordinates. - - A describing where to release the mouse button. - - - - Moves the mouse to the specified set of coordinates. - - A describing where to move the mouse to. - - - - Moves the mouse to the specified set of coordinates. - - A describing where to click. - A horizontal offset from the coordinates specified in . - A vertical offset from the coordinates specified in . - - - - Clicks at a set of coordinates using the secondary mouse button. - - A describing where to click. - - - - Defines an interface allowing the user to access the browser's history and to - navigate to a given URL. - - - - - Move back a single entry in the browser's history. - - - - - Move a single "item" forward in the browser's history. - - Does nothing if we are on the latest page viewed. - - - - Load a new web page in the current browser window. - - The URL to load. It is best to use a fully qualified URL - - Calling the method will load a new web page in the current browser window. - This is done using an HTTP GET operation, and the method will block until the - load is complete. This will follow redirects issued either by the server or - as a meta-redirect from within the returned HTML. Should a meta-redirect "rest" - for any duration of time, it is best to wait until this timeout is over, since - should the underlying page change while your test is executing the results of - future calls against this interface will be against the freshly loaded page. - - - - - Load a new web page in the current browser window. - - The URL to load. - - Calling the method will load a new web page in the current browser window. - This is done using an HTTP GET operation, and the method will block until the - load is complete. This will follow redirects issued either by the server or - as a meta-redirect from within the returned HTML. Should a meta-redirect "rest" - for any duration of time, it is best to wait until this timeout is over, since - should the underlying page change while your test is executing the results of - future calls against this interface will be against the freshly loaded page. - - - - - Refreshes the current page. - - - - - The exception that is thrown when the users attempts to set a cookie with an invalid domain. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when a reference to an element is no longer valid. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an item is not found. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an element is not found. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an element is not visible. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Defines an interface allowing the user to set options on the browser. - - - - - Provides access to the timeouts defined for this driver. - - An object implementing the interface. - - - - Gets an object allowing the user to manipulate cookies on the page. - - - - - Gets an object allowing the user to manipulate the currently-focused browser window. - - "Currently-focused" is defined as the browser window having the window handle - returned when IWebDriver.CurrentWindowHandle is called. - - - - Gets an object allowing the user to examing the logs for this driver instance. - - - - - Represents rotation of the browser view for orientation-sensitive devices. - When using this with a real device, the device should not be moved so that - the built-in sensors do not interfere. - - - - - Gets or sets the screen orientation of the browser on the device. - - - - - Defines the interface used to search for elements. - - - - - Finds the first using the given method. - - The locating mechanism to use. - The first matching on the current context. - If no element matches the criteria. - - - - Finds all IWebElements within the current context - using the given mechanism. - - The locating mechanism to use. - A of all WebElements - matching the current criteria, or an empty list if nothing matches. - - - - Defines the interface used to take screen shot images of the screen. - - - - - Gets a object representing the image of the page on the screen. - - A object containing the image. - - - - Defines the interface through which the user can locate a given frame or window. - - - - - Select a frame by its (zero-based) index. - - The zero-based index of the frame to select. - An instance focused on the specified frame. - If the frame cannot be found. - - - - Select a frame by its name or ID. - - The name of the frame to select. - An instance focused on the specified frame. - If the frame cannot be found. - - - - Select a frame using its previously located - The frame element to switch to. - An instance focused on the specified frame. - If the element is neither a FRAME nor an IFRAME element. - If the element is no longer valid. - - - - Select the parent frame of the currently selected frame. - - An instance focused on the specified frame. - - - - Switches the focus of future commands for this driver to the window with the given name. - - The name of the window to select. - An instance focused on the given window. - If the window cannot be found. - - - - Selects either the first frame on the page or the main document when a page contains iFrames. - - An instance focused on the default frame. - - - - Switches to the element that currently has the focus, or the body element - if no element with focus can be detected. - - An instance representing the element - with the focus, or the body element if no element with focus can be detected. - - - - Switches to the currently active modal dialog for this particular driver instance. - - A handle to the dialog. - - - - Defines the interface through which the user can define timeouts. - - - - - Specifies the amount of time the driver should wait when searching for an - element if it is not immediately present. - - A structure defining the amount of time to wait. - A self reference - - When searching for a single element, the driver should poll the page - until the element has been found, or this timeout expires before throwing - a . When searching for multiple elements, - the driver should poll the page until at least one element has been found - or this timeout has expired. - - Increasing the implicit wait timeout should be used judiciously as it - will have an adverse effect on test run time, especially when used with - slower location strategies like XPath. - - - - - Specifies the amount of time the driver should wait when executing JavaScript asynchronously. - - A structure defining the amount of time to wait. - Setting this parameter to will allow the script to run indefinitely. - A self reference - - - - Specifies the amount of time the driver should wait for a page to load when setting the property. - - A structure defining the amount of time to wait. - Setting this parameter to will allow the page to load indefinitely. - A self reference - - - - Interface representing basic touch screen operations. - - - - - Allows the execution of single tap on the screen, analogous to click using a Mouse. - - The object representing the location on the screen, - usually an . - - - - Allows the execution of the gesture 'down' on the screen. It is typically the first of a - sequence of touch gestures. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Allows the execution of the gesture 'up' on the screen. It is typically the last of a - sequence of touch gestures. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Allows the execution of the gesture 'move' on the screen. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Creates a scroll gesture that starts on a particular screen location. - - The object representing the location on the screen - where the scroll starts, usually an . - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Creates a scroll gesture for a particular x and y offset. - - The horizontal offset relative to the view port. - The vertical offset relative to the view port. - - - - Allows the execution of double tap on the screen, analogous to click using a Mouse. - - The object representing the location on the screen, - usually an . - - - - Allows the execution of a long press gesture on the screen. - - The object representing the location on the screen, - usually an . - - - - Creates a flick gesture for the current view. - - The horizontal speed in pixels per second. - The vertical speed in pixels per second. - - - - Creates a flick gesture for the current view starting at a specific location. - - The object representing the location on the screen - where the scroll starts, usually an . - The x offset relative to the viewport. - The y offset relative to the viewport. - The speed in pixels per second. - - - - Defines the interface through which the user controls the browser. - - - The interface is the main interface to use for testing, which - represents an idealized web browser. The methods in this class fall into three categories: - Control of the browser itselfSelection of IWebElementsDebugging aids - Key properties and methods are , which is used to - load a new web page by setting the property, and the various methods similar - to , which is used to find IWebElements. - - You use the interface by instantiate drivers that implement of this interface. - You should write your tests against this interface so that you may "swap in" a - more fully featured browser when there is a requirement for one. - - - - - Close the current window, quitting the browser if it is the last window currently open. - - - - - Quits this driver, closing every associated window. - - - - - Instructs the driver to change its settings. - - An object allowing the user to change - the settings of the driver. - - - - Instructs the driver to navigate the browser to another location. - - An object allowing the user to access - the browser's history and to navigate to a given URL. - - - - Instructs the driver to send future commands to a different frame or window. - - An object which can be used to select - a frame or window. - - - - Gets or sets the URL the browser is currently displaying. - - - Setting the property will load a new web page in the current browser window. - This is done using an HTTP GET operation, and the method will block until the - load is complete. This will follow redirects issued either by the server or - as a meta-redirect from within the returned HTML. Should a meta-redirect "rest" - for any duration of time, it is best to wait until this timeout is over, since - should the underlying page change while your test is executing the results of - future calls against this interface will be against the freshly loaded page. - - - - - - - Gets the title of the current browser window. - - - - - Gets the source of the page last loaded by the browser. - - - If the page has been modified after loading (for example, by JavaScript) - there is no guarantee that the returned text is that of the modified page. - Please consult the documentation of the particular driver being used to - determine whether the returned text reflects the current state of the page - or the text last sent by the web server. The page source returned is a - representation of the underlying DOM: do not expect it to be formatted - or escaped in the same way as the response sent from the web server. - - - - - Gets the current window handle, which is an opaque handle to this - window that uniquely identifies it within this driver instance. - - - - - Gets the window handles of open browser windows. - - - - - Defines the interface through which the user controls elements on the page. - - The interface represents an HTML element. - Generally, all interesting operations to do with interacting with a page will - be performed through this interface. - - - - - Clears the content of this element. - - If this element is a text entry element, the - method will clear the value. It has no effect on other elements. Text entry elements - are defined as elements with INPUT or TEXTAREA tags. - Thrown when the target element is no longer valid in the document DOM. - - - - Simulates typing text into the element. - - The text to type into the element. - The text to be typed may include special characters like arrow keys, - backspaces, function keys, and so on. Valid special keys are defined in - . - - Thrown when the target element is not enabled. - Thrown when the target element is not visible. - Thrown when the target element is no longer valid in the document DOM. - - - - Submits this element to the web server. - - If this current element is a form, or an element within a form, - then this will be submitted to the web server. If this causes the current - page to change, then this method will block until the new page is loaded. - Thrown when the target element is no longer valid in the document DOM. - - - - Clicks this element. - - - - Click this element. If the click causes a new page to load, the - method will attempt to block until the page has loaded. After calling the - method, you should discard all references to this - element unless you know that the element and the page will still be present. - Otherwise, any further operations performed on this element will have an undefined. - behavior. - - - If this element is not clickable, then this operation is ignored. This allows you to - simulate a users to accidentally missing the target when clicking. - - - Thrown when the target element is not visible. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the value of the specified attribute for this element. - - The name of the attribute. - The attribute's current value. Returns a if the - value is not set. - The method will return the current value - of the attribute, even if the value has been modified after the page has been - loaded. Note that the value of the following attributes will be returned even if - there is no explicit attribute on the element: - Attribute nameValue returned if not explicitly specifiedValid element typescheckedcheckedCheck BoxselectedselectedOptions in Select elementsdisableddisabledInput and other UI elements - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the value of a CSS property of this element. - - The name of the CSS property to get the value of. - The value of the specified CSS property. - The value returned by the - method is likely to be unpredictable in a cross-browser environment. - Color values should be returned as hex strings. For example, a - "background-color" property set as "green" in the HTML source, will - return "#008000" for its value. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the tag name of this element. - - - The property returns the tag name of the - element, not the value of the name attribute. For example, it will return - "input" for an element specified by the HTML markup <input name="foo" />. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the innerText of this element, without any leading or trailing whitespace, - and with other whitespace collapsed. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is enabled. - - The property will generally - return for everything except explicitly disabled input elements. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is selected. - - This operation only applies to input elements such as checkboxes, - options in a select element and radio buttons. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a object containing the coordinates of the upper-left corner - of this element relative to the upper-left corner of the page. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a object containing the height and width of this element. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is displayed. - - The property avoids the problem - of having to parse an element's "style" attribute to determine - visibility of an element. - Thrown when the target element is no longer valid in the document DOM. - - - - Provides methods for getting and setting the size and position of the browser window. - - - - - Maximizes the current window if it is not already maximized. - - - - - Gets or sets the position of the browser window relative to the upper-left corner of the screen. - - When setting this property, it should act as the JavaScript window.moveTo() method. - - - - Gets or sets the size of the outer browser window, including title bars and window borders. - - When setting this property, it should act as the JavaScript window.resizeTo() method. - - - - Representations of keys able to be pressed that are not text keys for sending to the browser. - - - - - Represents the NUL keystroke. - - - - - Represents the Cancel keystroke. - - - - - Represents the Help keystroke. - - - - - Represents the Backspace key. - - - - - Represents the Tab key. - - - - - Represents the Clear keystroke. - - - - - Represents the Return key. - - - - - Represents the Enter key. - - - - - Represents the Shift key. - - - - - Represents the Shift key. - - - - - Represents the Control key. - - - - - Represents the Control key. - - - - - Represents the Alt key. - - - - - Represents the Alt key. - - - - - Represents the Pause key. - - - - - Represents the Escape key. - - - - - Represents the Spacebar key. - - - - - Represents the Page Up key. - - - - - Represents the Page Down key. - - - - - Represents the End key. - - - - - Represents the Home key. - - - - - Represents the left arrow key. - - - - - Represents the left arrow key. - - - - - Represents the up arrow key. - - - - - Represents the up arrow key. - - - - - Represents the right arrow key. - - - - - Represents the right arrow key. - - - - - Represents the Left arrow key. - - - - - Represents the Left arrow key. - - - - - Represents the Insert key. - - - - - Represents the Delete key. - - - - - Represents the semi-colon key. - - - - - Represents the equal sign key. - - - - - Represents the number pad 0 key. - - - - - Represents the number pad 1 key. - - - - - Represents the number pad 2 key. - - - - - Represents the number pad 3 key. - - - - - Represents the number pad 4 key. - - - - - Represents the number pad 5 key. - - - - - Represents the number pad 6 key. - - - - - Represents the number pad 7 key. - - - - - Represents the number pad 8 key. - - - - - Represents the number pad 9 key. - - - - - Represents the number pad multiplication key. - - - - - Represents the number pad addition key. - - - - - Represents the number pad thousands separator key. - - - - - Represents the number pad subtraction key. - - - - - Represents the number pad decimal separator key. - - - - - Represents the number pad division key. - - - - - Represents the function key F1. - - - - - Represents the function key F2. - - - - - Represents the function key F3. - - - - - Represents the function key F4. - - - - - Represents the function key F5. - - - - - Represents the function key F6. - - - - - Represents the function key F7. - - - - - Represents the function key F8. - - - - - Represents the function key F9. - - - - - Represents the function key F10. - - - - - Represents the function key F11. - - - - - Represents the function key F12. - - - - - Represents the function key META. - - - - - Represents the function key COMMAND. - - - - - Represents an entry in a log from a driver instance. - - - - - Initializes a new instance of the class. - - - - - Returns a string that represents the current . - - A string that represents the current . - - - - Creates a from a dictionary as deserialized from JSON. - - The from - which to create the . - A with the values in the dictionary. - - - - Gets the timestamp value of the log entry. - - - - - Gets the logging level of the log entry. - - - - - Gets the message of the log entry. - - - - - Represents the levels of logging available to driver instances. - - - - - Show all log messages. - - - - - Show messages with information useful for debugging. - - - - - Show informational messages. - - - - - Show messages corresponding to non-critical issues. - - - - - Show messages corresponding to critical issues. - - - - - Show no log messages. - - - - - Class containing names of common log types. - - - - - Log messages from the client language bindings. - - - - - Logs from the current WebDriver instance. - - - - - Logs from the browser. - - - - - Logs from the server. - - - - - Profiling logs. - - - - - The exception that is thrown when an alert is not found. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when a frame is not found. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when a window is not found. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Represents the known and supported Platforms that WebDriver runs on. - - The class maps closely to the Operating System, - but differs slightly, because this class is used to extract information such as - program locations and line endings. - - - - Any platform. This value is never returned by a driver, but can be used to find - drivers with certain capabilities. - - - - - Any version of Microsoft Windows. This value is never returned by a driver, - but can be used to find drivers with certain capabilities. - - - - - Any Windows NT-based version of Microsoft Windows. This value is never returned - by a driver, but can be used to find drivers with certain capabilities. This value - is equivalent to PlatformType.Windows. - - - - - Versions of Microsoft Windows that are compatible with Windows XP. - - - - - Versions of Microsoft Windows that are compatible with Windows Vista. - - - - - Any version of the Macintosh OS - - - - - Any version of the Unix operating system. - - - - - Any version of the Linux operating system. - - - - - A version of the Android mobile operating system. - - - - - Represents the platform on which tests are to be run. - - - - - Initializes a new instance of the class for a specific platform type. - - The platform type. - - - - Compares the platform to the specified type. - - A value to compare to. - - if the platforms match; otherwise . - - - - Returns the string value for this platform type. - - The string value for this platform type. - - - - Creates a object from a string name of the platform. - - The name of the platform to create. - The Platform object represented by the string name. - - - - Gets the current platform. - - - - - Gets the major version of the platform operating system. - - - - - Gets the major version of the platform operating system. - - - - - Gets the type of the platform. - - - - - Gets the value of the platform type for transmission using the JSON Wire Protocol. - - - - - Describes the kind of proxy. - - - Keep these in sync with the Firefox preferences numbers: - http://kb.mozillazine.org/Network.proxy.type - - - - - Direct connection, no proxy (default on Windows). - - - - - Manual proxy settings (e.g., for httpProxy). - - - - - Proxy automatic configuration from URL. - - - - - Use proxy automatic detection. - - - - - Use the system values for proxy settings (default on Linux). - - - - - No proxy type is specified. - - - - - Describes proxy settings to be used with a driver instance. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the given proxy settings. - - A dictionary of settings to use with the proxy. - - - - Gets or sets the type of proxy. - - - - - Gets the type of proxy as a string for JSON serialization. - - - - - Gets or sets a value indicating whether the proxy uses automatic detection. - - - - - Gets or sets the value of the proxy for the FTP protocol. - - - - - Gets or sets the value of the proxy for the HTTP protocol. - - - - - Gets or sets the value for bypass proxy addresses. - - - - - Gets or sets the URL used for proxy automatic configuration. - - - - - Gets or sets the value of the proxy for the SSL protocol. - - - - - Gets or sets the value of the proxy for the SOCKS protocol. - - - - - Gets or sets the value of username for the SOCKS proxy. - - - - - Gets or sets the value of password for the SOCKS proxy. - - - - - Represents possible screen orientations. - - - - - Represents a portrait mode, where the screen is vertical. - - - - - Represents Landscape mode, where the screen is horizontal. - - - - - Represents an image of the page currently loaded in the browser. - - - - - Initializes a new instance of the class. - - The image of the page as a Base64-encoded string. - - - - Saves the screenshot to a file, overwriting the file if it already exists. - - The full path and file name to save the screenshot to. - A object indicating the format - to save the image to. - - - - Returns a String that represents the current Object. - - A String that represents the current Object. - - - - Gets the value of the screenshot image as a Base64-encoded string. - - - - - Gets the value of the screenshot image as an array of bytes. - - - - - The exception that is thrown when a reference to an element is no longer valid. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when the user is unable to set a cookie. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an unhandled alert is present. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - Initializes a new instance of the class with - a specified error message and alert text. - - The message that describes the error. - The text of the unhandled alert. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Populates a SerializationInfo with the data needed to serialize the target object. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Gets the that has not been handled. - - - - - Gets the text of the unhandled alert. - - - - - Specifies return values for actions in the driver. - - - - - The action was successful. - - - - - The index specified for the action was out of the acceptable range. - - - - - No collection was specified. - - - - - No string was specified. - - - - - No string length was specified. - - - - - No string wrapper was specified. - - - - - No driver matching the criteria exists. - - - - - No element matching the criteria exists. - - - - - No frame matching the criteria exists. - - - - - The functionality is not supported. - - - - - The specified element is no longer valid. - - - - - The specified element is not displayed. - - - - - The specified element is not enabled. - - - - - An unhandled error occurred. - - - - - An error occurred, but it was expected. - - - - - The specified element is not selected. - - - - - No document matching the criteria exists. - - - - - An unexpected JavaScript error occurred. - - - - - No result is available from the JavaScript execution. - - - - - The result from the JavaScript execution is not recognized. - - - - - No collection matching the criteria exists. - - - - - A timeout occurred. - - - - - A null pointer was received. - - - - - No window matching the criteria exists. - - - - - An illegal attempt was made to set a cookie under a different domain than the current page. - - - - - A request to set a cookie's value could not be satisfied. - - - - - An alert was found open unexpectedly. - - - - - A request was made to switch to an alert, but no alert is currently open. - - - - - An asynchronous JavaScript execution timed out. - - - - - The coordinates of the element are invalid. - - - - - The selector used (CSS/XPath) was invalid. - - - - - Represents exceptions that are thrown when an error occurs during actions. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - The exception that is thrown when an error occurs during an XPath lookup. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - a specified error message. - - The message that describes the error. - - - - 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 if no inner exception is specified. - - - - Initializes a new instance of the class with serialized data. - - The that holds the serialized - object data about the exception being thrown. - The that contains contextual - information about the source or destination. - - - - Defines the interface through which the user finds elements by their ID. - - - - - Finds the first element matching the specified id. - - The id to match. - The first matching the criteria. - - - - Finds all elements matching the specified id. - - The id to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by their CSS class. - - - - - Finds the first element matching the specified CSS class. - - The CSS class to match. - The first matching the criteria. - - - - Finds all elements matching the specified CSS class. - - The CSS class to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by their link text. - - - - - Finds the first element matching the specified link text. - - The link text to match. - The first matching the criteria. - - - - Finds all elements matching the specified link text. - - The link text to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by their name. - - - - - Finds the first element matching the specified name. - - The name to match. - The first matching the criteria. - - - - Finds all elements matching the specified name. - - The name to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by their tag name. - - - - - Finds the first element matching the specified tag name. - - The tag name to match. - The first matching the criteria. - - - - Finds all elements matching the specified tag name. - - The tag name to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by XPath. - - - - - Finds the first element matching the specified XPath query. - - The XPath query to match. - The first matching the criteria. - - - - Finds all elements matching the specified XPath query. - - The XPath query to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by a partial match on their link text. - - - - - Finds the first element matching the specified partial link text. - - The partial link text to match. - The first matching the criteria. - - - - Finds all elements matching the specified partial link text. - - The partial link text to match. - A containing all - IWebElements matching the criteria. - - - - Defines the interface through which the user finds elements by their cascading style sheet (CSS) selector. - - - - - Finds the first element matching the specified CSS selector. - - The id to match. - The first matching the criteria. - - - - Finds all elements matching the specified CSS selector. - - The CSS selector to match. - A containing all - IWebElements matching the criteria. - - - - Interface allowing the user to determine if the driver instance supports web storage. - - - - - Gets a value indicating whether web storage is supported for this driver. - - - - - Gets an object for managing web storage. - - - - - Interface allowing the user to determine if the driver instance supports geolocation. - - - - - Gets a value indicating whether manipulating geolocation is supported for this driver. - - - - - Gets an object for managing browser location. - - - - - Interface allowing the user to determine if the driver instance supports application cache. - - - - - Gets a value indicating whether manipulating the application cache is supported for this driver. - - - - - Gets an object for managing application cache. - - - - - Interface indicating the driver has a Session ID. - - - - - Gets the session ID of the current session. - - - - - Provides a way to use the driver through - - /// - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new RemoteWebDriver(new Uri("http://127.0.0.1:4444/wd/hub"),DesiredCapabilities.InternetExplorer()); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - } - } - - - - The default command timeout for HTTP requests in a RemoteWebDriver instance. - - - - - Initializes a new instance of the class. This constructor defaults proxy to http://127.0.0.1:4444/wd/hub - - An object containing the desired capabilities of the browser. - - - - Initializes a new instance of the class - - URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4444/wd/hub). - An object containing the desired capabilities of the browser. - - - - Initializes a new instance of the class using the specified remote address, desired capabilities, and command timeout. - - URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4444/wd/hub). - An object containing the desired capabilities of the browser. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class - - An object which executes commands for the driver. - An object containing the desired capabilities of the browser. - - - - Finds the first element in the page that matches the object - - By mechanism to find the object - IWebElement object so that you can interact with that object - - - IWebDriver driver = new InternetExplorerDriver(); - IWebElement elem = driver.FindElement(By.Name("q")); - - - - - - Finds the elements on the page by using the object and returns a ReadOnlyCollection of the Elements on the page - - By mechanism to find the element - ReadOnlyCollection of IWebElement - - - IWebDriver driver = new InternetExplorerDriver(); - ReadOnlyCollection]]> classList = driver.FindElements(By.ClassName("class")); - - - - - - Closes the Browser - - - - - Close the Browser and Dispose of WebDriver - - - - - Method For getting an object to set the Speed - - Returns an IOptions object that allows the driver to set the speed and cookies and getting cookies - - - - IWebDriver driver = new InternetExplorerDriver(); - driver.Manage().GetCookies(); - - - - - - Method to allow you to Navigate with WebDriver - - Returns an INavigation Object that allows the driver to navigate in the browser - - - IWebDriver driver = new InternetExplorerDriver(); - driver.Navigate().GoToUrl("http://www.google.co.uk"); - - - - - - Method to give you access to switch frames and windows - - Returns an Object that allows you to Switch Frames and Windows - - - IWebDriver driver = new InternetExplorerDriver(); - driver.SwitchTo().Frame("FrameName"); - - - - - - Executes JavaScript in the context of the currently selected frame or window - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - - Executes JavaScript asynchronously in the context of the currently selected frame or window. - - The JavaScript code to execute. - The arguments to the script. - The value returned by the script. - - - - Finds the first element in the page that matches the ID supplied - - ID of the element - IWebElement object so that you can interact with that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementById("id") - - - - - - Finds the first element in the page that matches the ID supplied - - ID of the Element - ReadOnlyCollection of Elements that match the object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsById("id") - - - - - - Finds the first element in the page that matches the CSS Class supplied - - className of the - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementByClassName("classname") - - - - - - Finds a list of elements that match the class name supplied - - CSS class Name on the element - ReadOnlyCollection of IWebElement object so that you can interact with those objects - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByClassName("classname") - - - - - - Finds the first of elements that match the link text supplied - - Link text of element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByLinkText("linktext") - - - - - - Finds a list of elements that match the link text supplied - - Link text of element - ReadOnlyCollection]]> object so that you can interact with those objects - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByClassName("classname") - - - - - - Finds the first of elements that match the part of the link text supplied - - part of the link text - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByPartialLinkText("partOfLink") - - - - - - Finds a list of elements that match the class name supplied - - part of the link text - ReadOnlyCollection]]> objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByPartialLinkText("partOfTheLink") - - - - - - Finds the first of elements that match the name supplied - - Name of the element on the page - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - elem = driver.FindElementsByName("name") - - - - - - Finds a list of elements that match the name supplied - - Name of element - ReadOnlyCollect of IWebElement objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByName("name") - - - - - - Finds the first of elements that match the DOM Tag supplied - - DOM tag Name of the element being searched - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByTagName("tag") - - - - - - Finds a list of elements that match the DOM Tag supplied - - DOM tag Name of element being searched - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByTagName("tag") - - - - - - Finds the first of elements that match the XPath supplied - - xpath to the element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByXPath("//table/tbody/tr/td/a"); - - - - - - Finds a list of elements that match the XPath supplied - - xpath to the element - ReadOnlyCollection of IWebElement objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByXpath("//tr/td/a") - - - - - - Finds the first element matching the specified CSS selector. - - The CSS selector to match. - The first matching the criteria. - - - - Finds all elements matching the specified CSS selector. - - The CSS selector to match. - A containing all - IWebElements matching the criteria. - - - - Gets a object representing the image of the page on the screen. - - A object containing the image. - - - - Dispose the RemoteWebDriver Instance - - - - - Escapes invalid characters in a CSS selector. - - The selector to escape. - The selector with invalid characters escaped. - - - - Executes commands with the driver - - Command that needs executing - Parameters needed for the command - WebDriver Response - - - - Find the element in the response - - Response from the browser - Element from the page - - - - Finds the elements that are in the response - - Response from the browser - Collection of elements - - - - Stops the client from running - - if its in the process of disposing - - - - Starts a session with the driver - - Capabilities of the browser - - - - Executes a command with this driver . - - A value representing the command to execute. - A containing the names and values of the parameters of the command. - A containing information about the success or failure of the command and any data returned by the command. - - - - Starts the command executor, enabling communication with the browser. - - - - - Stops the command executor, ending further communication with the browser. - - - - - Finds an element matching the given mechanism and value. - - The mechanism by which to find the element. - The value to use to search for the element. - The first matching the given criteria. - - - - Finds all elements matching the given mechanism and value. - - The mechanism by which to find the elements. - The value to use to search for the elements. - A collection of all of the IWebElements matching the given criteria. - - - - Creates a with the specified ID. - - The ID of this element. - A with the specified ID. - - - - Executes JavaScript in the context of the currently selected frame or window using a specific command. - - The JavaScript code to execute. - The name of the command to execute. - The arguments to the script. - The value returned by the script. - - - - Converts the arguments to JavaScript objects. - - The arguments. - The list of the arguments converted to JavaScript objects. - - - - Gets or sets the URL the browser is currently displaying. - - - - - - - - Gets the title of the current browser window. - - - - - Gets the source of the page last loaded by the browser. - - - - - Gets the current window handle, which is an opaque handle to this - window that uniquely identifies it within this driver instance. - - - - - Gets the window handles of open browser windows. - - - - - Gets an object for sending keystrokes to the browser. - - - - - Gets an object for sending mouse commands to the browser. - - - - - Gets a value indicating whether web storage is supported for this driver. - - - - - Gets an object for managing web storage. - - - - - Gets a value indicating whether manipulating the application cache is supported for this driver. - - - - - Gets an object for managing application cache. - - - - - Gets a value indicating whether manipulating geolocation is supported for this driver. - - - - - Gets an object for managing browser location. - - - - - Gets the capabilities that the RemoteWebDriver instance is currently using - - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - - - - Gets the for the current session of this driver. - - - - - Gets a value indicating whether or not the driver is compliant with the W3C WebDriver specification. - - - - - Gets the which executes commands for this driver. - - - - - Provides a mechanism to write tests against Chrome - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new ChromeDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - } - } - - - - - - Accept untrusted SSL Certificates - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified options. - - The to be used with the Chrome driver. - - - - Initializes a new instance of the class using the specified driver service. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing ChromeDriver.exe. - - The full path to the directory containing ChromeDriver.exe. - - - - Initializes a new instance of the class using the specified path - to the directory containing ChromeDriver.exe and options. - - The full path to the directory containing ChromeDriver.exe. - The to be used with the Chrome driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing ChromeDriver.exe, options, and command timeout. - - The full path to the directory containing ChromeDriver.exe. - The to be used with the Chrome driver. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified - and options. - - The to use. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified . - - The to use. - The to be used with the Chrome driver. - The maximum amount of time to wait for each command. - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The Chrome driver does not allow a file detector to be set, - as the server component of the Chrome driver (ChromeDriver.exe) only - allows uploads from the local computer environment. Attempting to set - this property has no effect, but does not throw an exception. If you - are attempting to run the Chrome driver remotely, use - in conjunction with a standalone WebDriver server. - - - - Exposes the service provided by the native ChromeDriver executable. - - - - - Initializes a new instance of the class. - - The full path to the ChromeDriver executable. - The file name of the ChromeDriver executable. - The port on which the ChromeDriver executable should listen. - - - - Creates a default instance of the ChromeDriverService. - - A ChromeDriverService that implements default settings. - - - - Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable. - - The directory containing the ChromeDriver executable. - A ChromeDriverService using a random port. - - - - Creates a default instance of the ChromeDriverService using a specified path to the ChromeDriver executable with the given name. - - The directory containing the ChromeDriver executable. - The name of the ChromeDriver executable file. - A ChromeDriverService using a random port. - - - - Returns the Chrome driver filename for the currently running platform - - The file name of the Chrome driver service executable. - - - - Gets or sets the location of the log file written to by the ChromeDriver executable. - - - - - Gets or sets the base URL path prefix for commands (e.g., "wd/url"). - - - - - Gets or sets the address of a server to contact for reserving a port. - - - - - Gets or sets the port on which the Android Debug Bridge is listening for commands. - - - - - Gets or sets a value indicating whether to enable verbose logging for the ChromeDriver executable. - Defaults to . - - - - - Gets or sets the comma-delimited list of IP addresses that are approved to - connect to this instance of the Chrome driver. Defaults to an empty string, - which means only the local loopback address can connect. - - - - - Gets the command-line arguments for the driver service. - - - - - Represents the type-safe options for setting settings for emulating a - mobile device in the Chrome browser. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The user agent string to be used by the browser when emulating - a mobile device. - - - - Gets or sets the user agent string to be used by the browser when emulating - a mobile device. - - - - - Gets or sets the width in pixels to be used by the browser when emulating - a mobile device. - - - - - Gets or sets the height in pixels to be used by the browser when emulating - a mobile device. - - - - - Gets or sets the pixel ratio to be used by the browser when emulating - a mobile device. - - - - - Gets or sets a value indicating whether touch events should be enabled by - the browser when emulating a mobile device. Defaults to . - - - - - Class to manage options specific to - - Used with ChromeDriver.exe v17.0.963.0 and higher. - - - - ChromeOptions options = new ChromeOptions(); - options.AddExtensions("\path\to\extension.crx"); - options.BinaryLocation = "\path\to\chrome"; - - - - For use with ChromeDriver: - - - - ChromeDriver driver = new ChromeDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Gets the name of the capability used to store Chrome options in - a object. - - - - - Adds a single argument to the list of arguments to be appended to the Chrome.exe command line. - - The argument to add. - - - - Adds arguments to be appended to the Chrome.exe command line. - - An array of arguments to add. - - - - Adds arguments to be appended to the Chrome.exe command line. - - An object of arguments to add. - - - - Adds a single argument to be excluded from the list of arguments passed by default - to the Chrome.exe command line by chromedriver.exe. - - The argument to exclude. - - - - Adds arguments to be excluded from the list of arguments passed by default - to the Chrome.exe command line by chromedriver.exe. - - An array of arguments to exclude. - - - - Adds arguments to be excluded from the list of arguments passed by default - to the Chrome.exe command line by chromedriver.exe. - - An object of arguments to exclude. - - - - Adds a path to a packed Chrome extension (.crx file) to the list of extensions - to be installed in the instance of Chrome. - - The full path to the extension to add. - - - - Adds a list of paths to packed Chrome extensions (.crx files) to be installed - in the instance of Chrome. - - An array of full paths to the extensions to add. - - - - Adds a list of paths to packed Chrome extensions (.crx files) to be installed - in the instance of Chrome. - - An of full paths to the extensions to add. - - - - Adds a base64-encoded string representing a Chrome extension to the list of extensions - to be installed in the instance of Chrome. - - A base64-encoded string representing the extension to add. - - - - Adds a list of base64-encoded strings representing Chrome extensions to the list of extensions - to be installed in the instance of Chrome. - - An array of base64-encoded strings representing the extensions to add. - - - - Adds a list of base64-encoded strings representing Chrome extensions to be installed - in the instance of Chrome. - - An of base64-encoded strings - representing the extensions to add. - - - - Adds a preference for the user-specific profile or "user data directory." - If the specified preference already exists, it will be overwritten. - - The name of the preference to set. - The value of the preference to set. - - - - Adds a preference for the local state file in the user's data directory for Chrome. - If the specified preference already exists, it will be overwritten. - - The name of the preference to set. - The value of the preference to set. - - - - Allows the Chrome browser to emulate a mobile device. - - The name of the device to emulate. The device name must be a - valid device name from the Chrome DevTools Emulation panel. - Specifying an invalid device name will not throw an exeption, but - will generate an error in Chrome when the driver starts. To unset mobile - emulation, call this method with as the argument. - - - - Allows the Chrome browser to emulate a mobile device. - - The - object containing the settings of the device to emulate. - Thrown if the device settings option does - not have a user agent string set. - Specifying an invalid device name will not throw an exeption, but - will generate an error in Chrome when the driver starts. To unset mobile - emulation, call this method with as the argument. - - - - Adds a type of window that will be listed in the list of window handles - returned by the Chrome driver. - - The name of the window type to add. - This method can be used to allow the driver to access {webview} - elements by adding "webview" as a window type. - - - - Adds a list of window types that will be listed in the list of window handles - returned by the Chrome driver. - - An array of window types to add. - - - - Adds a list of window types that will be listed in the list of window handles - returned by the Chrome driver. - - An of window types to add. - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Chrome driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling - where has already been added will overwrite the - existing value with the new value in . - Also, by default, calling this method adds capabilities to the options object passed to - chromedriver.exe. - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Chrome driver. - - The name of the capability to add. - The value of the capability to add. - Indicates whether the capability is to be set as a global - capability for the driver instead of a Chrome-specific option. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling - where has already been added will overwrite the - existing value with the new value in - - - - Returns DesiredCapabilities for Chrome with these options included as - capabilities. This does not copy the options. Further changes will be - reflected in the returned capabilities. - - The DesiredCapabilities for Chrome with these options. - - - - Gets or sets the location of the Chrome browser's binary executable file. - - - - - Gets or sets a value indicating whether Chrome should be left running after the - ChromeDriver instance is exited. Defaults to . - - - - - Gets or sets the proxy to use with this instance of Chrome. - - - - - Gets the list of arguments appended to the Chrome command line as a string array. - - - - - Gets the list of extensions to be installed as an array of base64-encoded strings. - - - - - Gets or sets the address of a Chrome debugger server to connect to. - Should be of the form "{hostname|IP address}:port". - - - - - Gets or sets the directory in which to store minidump files. - - - - - Gets or sets the performance logging preferences for the driver. - - - - - Represents the type-safe options for setting preferences for performance - logging in the Chrome browser. - - - - - Adds a single category to the list of Chrome tracing categories for which events should be collected. - - The category to add. - - - - Adds categories to the list of Chrome tracing categories for which events should be collected. - - An array of categories to add. - - - - Adds categories to the list of Chrome tracing categories for which events should be collected. - - An object of categories to add. - - - - Gets or sets a value indicating whether Chrome will collect events from the Network domain. - Defaults to . - - - - - Gets or sets a value indicating whether Chrome will collect events from the Page domain. - Defaults to . - - - - - Gets or sets a value indicating whether Chrome will collect events from the Timeline domain. - Defaults to , but is set to when tracing - is enabled by adding one or more tracing categories. - - - - - Gets or sets the interval between Chrome DevTools trace buffer usage events. - Defaults to 1000 milliseconds. - - Thrown when an attempt is made to set - the value to a time span of less tnan or equal to zero milliseconds. - - - - Gets a comma-separated list of the categories for which tracing is enabled. - - - - - Defines the interface through which the user can access the driver used to find an element. - - - - - Gets the used to find this element. - - - - - RemoteWebElement allows you to have access to specific items that are found on the page - - - - - - - Initializes a new instance of the class. - - The instance hosting this element. - The ID assigned to the element. - - - - Clears the content of this element. - - If this element is a text entry element, the - method will clear the value. It has no effect on other elements. Text entry elements - are defined as elements with INPUT or TEXTAREA tags. - Thrown when the target element is no longer valid in the document DOM. - - - - Simulates typing text into the element. - - The text to type into the element. - The text to be typed may include special characters like arrow keys, - backspaces, function keys, and so on. Valid special keys are defined in - . - - Thrown when the target element is not enabled. - Thrown when the target element is not visible. - Thrown when the target element is no longer valid in the document DOM. - - - - Submits this element to the web server. - - If this current element is a form, or an element within a form, - then this will be submitted to the web server. If this causes the current - page to change, then this method will attempt to block until the new page - is loaded. - Thrown when the target element is no longer valid in the document DOM. - - - - Clicks this element. - - - Click this element. If the click causes a new page to load, the - method will attempt to block until the page has loaded. After calling the - method, you should discard all references to this - element unless you know that the element and the page will still be present. - Otherwise, any further operations performed on this element will have an undefined - behavior. - - Thrown when the target element is not enabled. - Thrown when the target element is not visible. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the value of the specified attribute for this element. - - The name of the attribute. - The attribute's current value. Returns a if the - value is not set. - The method will return the current value - of the attribute, even if the value has been modified after the page has been - loaded. Note that the value of the following attributes will be returned even if - there is no explicit attribute on the element: - Attribute nameValue returned if not explicitly specifiedValid element typescheckedcheckedCheck BoxselectedselectedOptions in Select elementsdisableddisabledInput and other UI elements - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the value of a CSS property of this element. - - The name of the CSS property to get the value of. - The value of the specified CSS property. - The value returned by the - method is likely to be unpredictable in a cross-browser environment. - Color values should be returned as hex strings. For example, a - "background-color" property set as "green" in the HTML source, will - return "#008000" for its value. - Thrown when the target element is no longer valid in the document DOM. - - - - Finds all IWebElements within the current context - using the given mechanism. - - The locating mechanism to use. - A of all WebElements - matching the current criteria, or an empty list if nothing matches. - - - - Finds the first using the given method. - - The locating mechanism to use. - The first matching on the current context. - If no element matches the criteria. - - - - Finds the first of elements that match the link text supplied - - Link text of element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementByLinkText("linktext") - - - - - - Finds the first of elements that match the link text supplied - - Link text of element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByLinkText("linktext") - - - - - - Finds the first element in the page that matches the ID supplied - - ID of the element - IWebElement object so that you can interact with that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementById("id") - - - - - - Finds the first element in the page that matches the ID supplied - - ID of the Element - ReadOnlyCollection of Elements that match the object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsById("id") - - - - - - Finds the first of elements that match the name supplied - - Name of the element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - elem = driver.FindElementsByName("name") - - - - - - Finds a list of elements that match the name supplied - - Name of element - ReadOnlyCollect of IWebElement objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByName("name") - - - - - - Finds the first of elements that match the DOM Tag supplied - - tag name of the element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByTagName("tag") - - - - - - Finds a list of elements that match the DOM Tag supplied - - DOM Tag of the element on the page - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByTagName("tag") - - - - - - Finds the first element in the page that matches the CSS Class supplied - - CSS class name of the element on the page - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementByClassName("classname") - - - - - - Finds a list of elements that match the class name supplied - - CSS class name of the elements on the page - ReadOnlyCollection of IWebElement object so that you can interact with those objects - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByClassName("classname") - - - - - - Finds the first of elements that match the XPath supplied - - xpath to the element - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByXPath("//table/tbody/tr/td/a"); - - - - - - Finds a list of elements that match the XPath supplied - - xpath to element on the page - ReadOnlyCollection of IWebElement objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByXpath("//tr/td/a") - - - - - - Finds the first of elements that match the part of the link text supplied - - part of the link text - IWebElement object so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - IWebElement elem = driver.FindElementsByPartialLinkText("partOfLink") - - - - - - Finds a list of elements that match the link text supplied - - part of the link text - ReadOnlyCollection]]> objects so that you can interact that object - - - IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); - ReadOnlyCollection]]> elem = driver.FindElementsByPartialLinkText("partOfTheLink") - - - - - - Finds the first element matching the specified CSS selector. - - The id to match. - The first matching the criteria. - - - - Finds all elements matching the specified CSS selector. - - The CSS selector to match. - A containing all - IWebElements matching the criteria. - - - - Gets a object representing the image of this element on the screen. - - A object containing the image. - - - - Method to get the hash code of the element - - Integer of the hash code for the element - - - - Compares if two elements are equal - - Object to compare against - A boolean if it is equal or not - - - - Finds a child element matching the given mechanism and value. - - The mechanism by which to find the element. - The value to use to search for the element. - The first matching the given criteria. - - - - Finds all child elements matching the given mechanism and value. - - The mechanism by which to find the elements. - The value to use to search for the elements. - A collection of all of the IWebElements matching the given criteria. - - - - Executes a command on this element using the specified parameters. - - The to execute against this element. - A containing names and values of the parameters for the command. - The object containing the result of the command execution. - - - - Gets the used to find this element. - - - - - Gets the tag name of this element. - - - The property returns the tag name of the - element, not the value of the name attribute. For example, it will return - "input" for an element specified by the HTML markup <input name="foo" />. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the innerText of this element, without any leading or trailing whitespace, - and with other whitespace collapsed. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is enabled. - - The property will generally - return for everything except explicitly disabled input elements. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is selected. - - This operation only applies to input elements such as checkboxes, - options in a select element and radio buttons. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a object containing the coordinates of the upper-left corner - of this element relative to the upper-left corner of the page. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a object containing the height and width of this element. - - Thrown when the target element is no longer valid in the document DOM. - - - - Gets a value indicating whether or not this element is displayed. - - The property avoids the problem - of having to parse an element's "style" attribute to determine - visibility of an element. - Thrown when the target element is no longer valid in the document DOM. - - - - Gets the point where the element would be when scrolled into view. - - - - - Gets the coordinates identifying the location of this element using - various frames of reference. - - - - - Gets the ID of the element. - - This property is internal to the WebDriver instance, and is - not intended to be used in your code. The element's ID has no meaning - outside of internal WebDriver usage, so it would be improper to scope - it as public. However, both subclasses of - and the parent driver hosting the element have a need to access the - internal element ID. Therefore, we have two properties returning the - same value, one scoped as internal, the other as protected. - - - - Gets the ID of the element - - This property is internal to the WebDriver instance, and is - not intended to be used in your code. The element's ID has no meaning - outside of internal WebDriver usage, so it would be improper to scope - it as public. However, both subclasses of - and the parent driver hosting the element have a need to access the - internal element ID. Therefore, we have two properties returning the - same value, one scoped as internal, the other as protected. - - - - Provides a mechanism to get elements off the page for test - - - - - Initializes a new instance of the class. - - Driver in use - Id of the element - - - - Provides a mechanism to write tests against Edge - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified options. - - The to be used with the Edge driver. - - - - Initializes a new instance of the class using the specified driver service. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing EdgeDriver.exe. - - The full path to the directory containing EdgeDriver.exe. - - - - Initializes a new instance of the class using the specified path - to the directory containing EdgeDriver.exe and options. - - The full path to the directory containing EdgeDriver.exe. - The to be used with the Edge driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing EdgeDriver.exe, options, and command timeout. - - The full path to the directory containing EdgeDriver.exe. - The to be used with the Edge driver. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified - and options. - - The to use. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified . - - The to use. - The to be used with the Edge driver. - The maximum amount of time to wait for each command. - - - - Exposes the service provided by the native MicrosoftWebDriver executable. - - - - - Initializes a new instance of the class. - - The full path to the EdgeDriver executable. - The file name of the EdgeDriver executable. - The port on which the EdgeDriver executable should listen. - - - - Creates a default instance of the EdgeDriverService. - - A EdgeDriverService that implements default settings. - - - - Creates a default instance of the EdgeDriverService using a specified path to the EdgeDriver executable. - - The directory containing the EdgeDriver executable. - A EdgeDriverService using a random port. - - - - Creates a default instance of the EdgeDriverService using a specified path to the EdgeDriver executable with the given name. - - The directory containing the EdgeDriver executable. - The name of the EdgeDriver executable file. - A EdgeDriverService using a random port. - - - - Creates a default instance of the EdgeDriverService using a specified path to the EdgeDriver executable with the given name and listening port. - - The directory containing the EdgeDriver executable. - The name of the EdgeDriver executable file - The port number on which the driver will listen - A EdgeDriverService using the specified port. - - - - Specifies the behavior of waiting for page loads in the Edge driver. - - - - - Indicates the behavior is not set. - - - - - Waits for pages to load and ready state to be 'complete'. - - - - - Waits for pages to load and for ready state to be 'interactive' or 'complete'. - - - - - Does not wait for pages to load, returning immediately. - - - - - Class to manage options specific to - - - EdgeOptions options = new EdgeOptions(); - - - - For use with EdgeDriver: - - - - EdgeDriver driver = new EdgeDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Edge driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling where - has already been added will overwrite the existing value with the new value in - - - - Returns DesiredCapabilities for Edge with these options included as - capabilities. This copies the options. Further changes will not be - reflected in the returned capabilities. - - The DesiredCapabilities for Edge with these options. - - - - Gets or sets the value for describing how the browser is to wait for pages to load in the Edge driver. - Defaults to . - - - - - Provides a mechanism to get elements off the page for test - - - - - Initializes a new instance of the class - - Driver in use - Id of the element - - - - Represents the binary associated with Firefox. - - The class is responsible for instantiating the - Firefox process, and the operating system environment in which it runs. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class located at a specific file location. - - Full path and file name to the Firefox executable. - - - - Starts Firefox using the specified profile and command-line arguments. - - The to use with this instance of Firefox. - The command-line arguments to use in starting Firefox. - - - - Sets a variable to be used in the Firefox execution environment. - - The name of the environment variable to set. - The value of the environment variable to set. - - - - Waits for the process to complete execution. - - - - - Releases all resources used by the . - - - - - Returns a String that represents the current Object. - - A String that represents the current Object. - - - - Starts the Firefox process. - - - - - Releases the unmanaged resources used by the and optionally - releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets or sets the timeout to wait for Firefox to be available for command execution. - - - - - Gets the associated with this . - - - - - Gets a value indicating whether the current operating system is Linux. - - - - - Gets a containing string key-value pairs - representing any operating system environment variables beyond the defaults. - - - - - Provides a way to access Firefox to run tests. - - - When the FirefoxDriver object has been instantiated the browser will load. The test can then navigate to the URL under test and - start your test. - - In the case of the FirefoxDriver, you can specify a named profile to be used, or you can let the - driver create a temporary, anonymous profile. A custom extension allowing the driver to communicate - to the browser will be installed into the profile. - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new FirefoxDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - } - } - - - - - - The name of the ICapabilities setting to use to define a custom Firefox profile. - - - - - The name of the ICapabilities setting to use to define a custom location for the - Firefox executable. - - - - - The default port on which to communicate with the Firefox extension. - - - - - Indicates whether native events is enabled by default for this platform. - - - - - Indicates whether the driver will accept untrusted SSL certificates. - - - - - Indicates whether the driver assume the issuer of untrusted certificates is untrusted. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class for a given profile. - - A object representing the profile settings - to be used in starting Firefox. - - - - Initializes a new instance of the class for a given set of capabilities. - - The object containing the desired - capabilities of this FirefoxDriver. - - - - Initializes a new instance of the class for a given profile and binary environment. - - A object representing the operating system - environmental settings used when running Firefox. - A object representing the profile settings - to be used in starting Firefox. - - - - Initializes a new instance of the class for a given profile, binary environment, and timeout value. - - A object representing the operating system - environmental settings used when running Firefox. - A object representing the profile settings - to be used in starting Firefox. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified options. Uses the Mozilla-provided Marionette driver implementation. - - The to be used with the Firefox driver. - - - - Initializes a new instance of the class using the specified driver service. Uses the Mozilla-provided Marionette driver implementation. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified options, driver service, and timeout. Uses the Mozilla-provided Marionette driver implementation. - - The to use. - The to be used with the Firefox driver. - The maximum amount of time to wait for each command. - - - - In derived classes, the method prepares the environment for test execution. - - - - - Creates a with the specified ID. - - The ID of this element. - A with the specified ID. For the FirefoxDriver this will be a . - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The Firefox driver does not allow a file detector to be set, - as the server component of the Firefox driver only allows uploads from - the local computer environment. Attempting to set this property has no - effect, but does not throw an exception. If you are attempting to run - the Firefox driver remotely, use in - conjunction with a standalone WebDriver server. - - - - Gets a value indicating whether the Firefox driver instance uses - Mozilla's Marionette implementation. This is a temporary property - and will be removed when Marionette is available for the release - channel of Firefox. - - - - - Gets the FirefoxBinary and its details for subclasses - - - - - Gets the FirefoxProfile that is currently in use by subclasses - - - - - Provides a way to send commands to the remote server - - - - - Executes a command - - The command you wish to execute - A response from the browser - - - - Gets the repository of objects containin information about commands. - - - - - Provides a way of executing Commands using the FirefoxDriver. - - - - - Initializes a new instance of the class. - - The on which to make the connection. - The creating the connection. - The name of the host on which to connect to the Firefox extension (usually "localhost"). - The maximum amount of time to wait for each command. - - - - Executes a command - - The command you wish to execute - A response from the browser - - - - Releases all resources used by the . - - - - - Releases the unmanaged resources used by the and - optionally releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets the repository of objects containin information about commands. - - - - - Provides methods for launching Firefox with the WebDriver extension installed. - - - - - Initializes a new instance of the class. - - The on which to make the connection. - The creating the connection. - The name of the host on which to connect to the Firefox extension (usually "localhost"). - - - - Starts the server. - - - - - Releases all resources used by the . - - - - - Releases the unmanaged resources used by the and optionally - releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets the for communicating with this server. - - - - - Exposes the service provided by the native FirefoxDriver executable. - - - - - Initializes a new instance of the class. - - The full path to the Firefox driver executable. - The file name of the Firefox driver executable. - The port on which the Firefox driver executable should listen. - - - - Creates a default instance of the FirefoxDriverService. - - A FirefoxDriverService that implements default settings. - - - - Creates a default instance of the FirefoxDriverService using a specified path to the Firefox driver executable. - - The directory containing the Firefox driver executable. - A FirefoxDriverService using a random port. - - - - Creates a default instance of the FirefoxDriverService using a specified path to the ChromeDriver executable with the given name. - - The directory containing the Firefox driver executable. - The name of th Firefox driver executable file. - A FirefoxDriverService using a random port. - - - - Gets or sets the location of the Firefox binary executable. - - - - - Gets or sets the port used by the driver executable to communicate with the browser. - - - - - Gets a value indicating the time to wait for an initial connection before timing out. - - - - - Gets a value indicating the time to wait for the service to terminate before forcing it to terminate. - - - - - Gets a value indicating whether the service is responding to HTTP requests. - - - - - Gets the command-line arguments for the driver service. - - - - - Provides the ability to install extensions into a . - - - - - Initializes a new instance of the class. - - The name of the file containing the Firefox extension. - WebDriver attempts to resolve the parameter - by looking first for the specified file in the directory of the calling assembly, - then using the full path to the file, if a full path is provided. - - - - Initializes a new instance of the class. - - The name of the file containing the Firefox extension. - The ID of the resource within the assembly containing the extension - if the file is not present in the file system. - WebDriver attempts to resolve the parameter - by looking first for the specified file in the directory of the calling assembly, - then using the full path to the file, if a full path is provided. If the file is - not found in the file system, WebDriver attempts to locate a resource in the - executing assembly with the name specified by the - parameter. - - - - Installs the extension into a profile directory. - - The Firefox profile directory into which to install the extension. - - - - Class to manage options specific to - - Used with the marionette executable wires.exe. - - - - FirefoxOptions options = new FirefoxOptions(); - - - - For use with FirefoxDriver: - - - - FirefoxDriver driver = new FirefoxDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Firefox driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - For the moment, this method has no effect for the Firefox driver, as use - of the FirefoxOptions class is only used as a marker for Marionette. This will - change in the future. - - - - Returns DesiredCapabilities for Firefox with these options included as - capabilities. This does not copy the options. Further changes will be - reflected in the returned capabilities. - - The DesiredCapabilities for Firefox with these options. - - - - Gets or sets a value indicating whether or not to use the Mozilla-provided Marionette implementation. - - - - - Provides the ability to edit the preferences associated with a Firefox profile. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using a - specific profile directory. - - The directory containing the profile. - - - - Initializes a new instance of the class using a - specific profile directory. - - The directory containing the profile. - Delete the source directory of the profile upon cleaning. - - - - Converts a base64-encoded string into a . - - The base64-encoded string containing the profile contents. - The constructed . - - - - Adds a Firefox Extension to this profile - - The path to the new extension - - - - Sets a preference in the profile. - - The name of the preference to add. - A value to add to the profile. - - - - Sets a preference in the profile. - - The name of the preference to add. - A value to add to the profile. - - - - Sets a preference in the profile. - - The name of the preference to add. - A value to add to the profile. - - - - Set proxy preferences for this profile. - - The object defining the proxy - preferences for the profile. - - - - Writes this in-memory representation of a profile to disk. - - - - - Cleans this Firefox profile. - - If this profile is a named profile that existed prior to - launching Firefox, the method removes the WebDriver - Firefox extension. If the profile is an anonymous profile, the profile - is deleted. - - - - Converts the profile into a base64-encoded string. - - A base64-encoded string containing the contents of the profile. - - - - Adds the WebDriver extension for Firefox to the profile. - - - - - Generates a random directory name for the profile. - - A random directory name for the profile. - - - - Deletes the lock files for a profile. - - - - - Installs all extensions in the profile in the directory on disk. - - - - - Deletes the cache of extensions for this profile, if the cache exists. - - If the extensions cache does not exist for this profile, the - method performs no operations, but - succeeds. - - - - Writes the user preferences to the profile. - - - - - Reads the existing preferences from the profile. - - A containing key-value pairs representing the preferences. - Assumes that we only really care about the preferences, not the comments - - - - Sets a preference for a manually specified proxy. - - The protocol for which to set the proxy. - The setting for the proxy. - - - - Gets or sets the port on which the profile connects to the WebDriver extension. - - - - - Gets the directory containing the profile. - - - - - Gets or sets a value indicating whether to delete this profile after use with - the . - - - - - Gets or sets a value indicating whether native events are enabled. - - - - - Gets or sets a value indicating whether to always load the library for allowing Firefox - to execute commands without its window having focus. - - The property is only used on Linux. - - - - Gets or sets a value indicating whether Firefox should accept SSL certificates which have - expired, signed by an unknown authority or are generally untrusted. Set to true - by default. - - - - - Gets or sets a value indicating whether Firefox assume untrusted SSL certificates - come from an untrusted issuer or are self-signed. Set to true by default. - - - - Due to limitations within Firefox, it is easy to find out if a certificate has expired - or does not match the host it was served for, but hard to find out if the issuer of the - certificate is untrusted. By default, it is assumed that the certificates were not - issued from a trusted certificate authority. - - - If you receive an "untrusted site" prompt it Firefox when using a certificate that was - issued by valid issuer, but the certificate has expired or is being served served for - a different host (e.g. production certificate served in a testing environment) set this - to false. - - - - - - Allows the user to enumerate and access existing named Firefox profiles. - - - - - Initializes a new instance of the class. - - - - - Gets a with a given name. - - The name of the profile to get. - A with a given name. - Returns if no profile with the given name exists. - - - - Gets a containing FirefoxProfiles - representing the existing named profiles for Firefox. - - - - - Allows the user to control elements on a page in Firefox. - - - - - Initializes a new instance of the class. - - The instance hosting this element. - The ID assigned to the element. - - - - Determines whether two instances are equal. - - The to compare with the current . - - if the specified is equal to the - current ; otherwise, . - - - - Serves as a hash function for a . - - A hash code for the current . - - - - Represents the preferences used by a profile in Firefox. - - - - - Initializes a new instance of the class. - - A set of preferences that cannot be modified once set. - A set of default preferences. - - - - Sets a preference. - - The name of the preference to set. - A value give the preference. - If the preference already exists in the currently-set list of preferences, - the value will be updated. - - - - Sets a preference. - - The name of the preference to set. - A value give the preference. - If the preference already exists in the currently-set list of preferences, - the value will be updated. - - - - Sets a preference. - - The name of the preference to set. - A value give the preference. - If the preference already exists in the currently-set list of preferences, - the value will be updated. - - - - Gets a preference from the list of preferences. - - The name of the preference to retrieve. - The value of the preference, or an empty string if the preference is not set. - - - - Appends this set of preferences to the specified set of preferences. - - A dictionary containing the preferences to which to - append these values. - If the preference already exists in , - the value will be updated. - - - - Writes the preferences to a file. - - The full path to the file to be written. - - - - Represents the executable file for Firefox. - - - - - Initializes a new instance of the class. - - The path and file name to the Firefox executable. - - - - Sets the library path for the Firefox executable environment. - - The used to execute the binary. - - - - Locates the Firefox binary by platform. - - The full path to the binary. - - - - Retrieves an environment variable - - Name of the variable. - Default value of the variable. - The value of the variable. If no variable with that name is set, returns the default. - - - - Retrieves the platform specific environment property name which contains the library path. - - The platform specific environment property name which contains the library path. - - - - Walk a PATH to locate binaries with a specified name. Binaries will be searched for in the - order they are provided. - - The binary names to search for. - The first binary found matching that name. - - - - Gets the full path to the executable. - - - - - Defines the interface through which the mutex port for establishing communication - with the WebDriver extension can be locked. - - - - - Locks the mutex port. - - The amount of time (in milliseconds) to wait for - the mutex port to become available. - - - - Locks the mutex port. - - The describing the amount of time to wait for - the mutex port to become available. - - - - Unlocks the mutex port. - - - - - Parses and reads an INI file. - - - - - Initializes a new instance of the class. - - The full path to the .INI file to be read. - - - - Gets a value from the .INI file. - - The section in which to find the key-value pair. - The key of the key-value pair. - The value associated with the given section and key. - - - - Gets a containing the names of the sections in the .INI file. - - - - - Provides a mutex-like lock on a socket. - - - - - Initializes a new instance of the class. - - Port to use to acquire the lock. - The class will attempt to acquire the - specified port number, and wait for it to become free. - - - - Locks the mutex port. - - The describing the amount of time to wait for - the mutex port to become available. - - - - Locks the mutex port. - - The amount of time (in milliseconds) to wait for - the mutex port to become available. - - - - Unlocks the mutex port. - - - - - Releases all resources associated with this - - - - Represents the application cache status. - - - - - AppCache status is uncached - - - - - AppCache status is idle - - - - - AppCache status is checkint - - - - - AppCache status is downloading - - - - - AppCache status is updated-ready - - - - - AppCache status is obsolete - - - - - Defines an interface allowing the user to access application cache status - - - - - Gets the current state of the application cache. - - - - - Represents the local storage for the site currently opened in the browser. - Each site has its own separate storage area. - - - - - Returns value of the local storage given a key. - - key to for a local storage entry - Value of the local storage entry as given a key. - - - - Returns the set of keys associated with local storage. - - Returns the set of keys associated with local storage as . - - - - Adds key/value pair to local storage. - - storage key - storage value - - - - Removes key/value pair from local storage. - - key to remove from storage - Value from local storage as string for the given key. - - - - Clears local storage. - - - - - Gets the number of items in local storage. - - - - - Interface for location context - - - - - Gets or sets a value indicating the physical location of the browser. - - - - - Represents the session storage for the site currently opened in the browser. - Each site has its own separate storage area. - - - - - Returns value of the session storage given a key. - - key to for a session storage entry - Value of the session storage entry as given a key. - - - - Returns the set of keys associated with session storage. - - Returns the set of keys associated with session storage as . - - - - Adds key/value pair to session storage. - - storage key - storage value - - - - Removes key/value pair from session storage. - - key to remove from storage - Value from session storage as string for the given key. - - - - Clears local storage. - - - - - Gets the number of items in session storage. - - - - - Represents both local and session storage for the site currently opened in the browser. - - - - - Gets the local storage for the site currently opened in the browser. - - - - - Gets the session storage for the site currently opened in the browser. - - - - - Represents the physical location of the browser. - - - - - Initializes a new instance of the class. - - latitude for current location - longitude for current location - altitude for current location - - - - Retuns string represenation for current location. - - Returns string reprsentation for current location. - - - - Gets the latitude of the current location. - - - - - Gets the longitude of the current location. - - - - - Gets the altitude of the current location. - - - - - Provides a way to access Internet Explorer to run your tests by creating a InternetExplorerDriver instance - - - When the WebDriver object has been instantiated the browser will load. The test can then navigate to the URL under test and - start your test. - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new InternetExplorerDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - driver.Dispose(); - } - } - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the desired - options. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified driver service. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing IEDriverServer.exe. - - The full path to the directory containing IEDriverServer.exe. - - - - Initializes a new instance of the class using the specified path - to the directory containing IEDriverServer.exe and options. - - The full path to the directory containing IEDriverServer.exe. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing IEDriverServer.exe, options, and command timeout. - - The full path to the directory containing IEDriverServer.exe. - The used to initialize the driver. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified - and options. - - The to use. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified - , , and command timeout. - - The to use. - The used to initialize the driver. - The maximum amount of time to wait for each command. - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The IE driver does not allow a file detector to be set, - as the server component of the IE driver (IEDriverServer.exe) only - allows uploads from the local computer environment. Attempting to set - this property has no effect, but does not throw an exception. If you - are attempting to run the IE driver remotely, use - in conjunction with a standalone WebDriver server. - - - - Represents the valid values for driver engine available with the IEDriverServer.exe. - - - - - Represents the Legacy value, forcing the driver to use only the open-source - driver engine implementation. - - - - - Represents the AutoDetect value, instructing the driver to use the vendor-provided - driver engine implementation, if available, falling back to the open-source - implementation, if it is not available. - - - - - Represents the Vendor value, instructing the driver to use the vendor-provided - driver engine implementation, and throwing an exception if it is not available. - - - - - Represents the valid values of logging levels available with the IEDriverServer.exe. - - - - - Represents the Trace value, the most detailed logging level available. - - - - - Represents the Debug value - - - - - Represents the Info value - - - - - Represents the Warn value - - - - - Represents the Error value - - - - - Represents the Fatal value, the least detailed logging level available. - - - - - Exposes the service provided by the native IEDriverServer executable. - - - - - Initializes a new instance of the class. - - The full path to the IEDriverServer executable. - The file name of the IEDriverServer executable. - The port on which the IEDriverServer executable should listen. - - - - Creates a default instance of the InternetExplorerDriverService. - - A InternetExplorerDriverService that implements default settings. - - - - Creates a default instance of the InternetExplorerDriverService using a specified path to the IEDriverServer executable. - - The directory containing the IEDriverServer executable. - A InternetExplorerDriverService using a random port. - - - - Creates a default instance of the InternetExplorerDriverService using a specified path to the IEDriverServer executable with the given name. - - The directory containing the IEDriverServer executable. - The name of the IEDriverServer executable file. - A InternetExplorerDriverService using a random port. - - - - Gets or sets the value of the host adapter on which the IEDriverServer should listen for connections. - - - - - Gets or sets the location of the log file written to by the IEDriverServer. - - - - - Gets or sets the logging level used by the IEDriverServer. - - - - - Gets or sets the implementation to be used by the IEDriverServer. - - - - - Gets or sets the path to which the supporting library of the IEDriverServer.exe is extracted. - Defaults to the temp directory if this property is not set. - - - The IEDriverServer.exe requires extraction of a supporting library to perform some of its functions. Setting - This library is extracted to the temp directory if this property is not set. If the property is set, it must - be set to a valid directory. - - - - - Gets or sets the comma-delimited list of IP addresses that are approved to - connect to this instance of the IEDriverServer. Defaults to an empty string, - which means only the local loopback address can connect. - - - - - Gets the command-line arguments for the driver service. - - - - - Specifies the scroll behavior of elements scrolled into view in the IE driver. - - - - - Scrolls elements to align with the top of the viewport. - - - - - Scrolls elements to align with the bottom of the viewport. - - - - - Specifies the behavior of handling unexpected alerts in the IE driver. - - - - - Indicates the behavior is not set. - - - - - Ignore unexpected alerts, such that the user must handle them. - - - - - Accept unexpected alerts. - - - - - Dismiss unexpected alerts. - - - - - Specifies the behavior of waiting for page loads in the IE driver. - - - - - Indicates the behavior is not set. - - - - - Waits for pages to load and ready state to be 'complete'. - - - - - Waits for pages to load and for ready state to be 'interactive' or 'complete'. - - - - - Does not wait for pages to load, returning immediately. - - - - - Class to manage options specific to - - - InternetExplorerOptions options = new InternetExplorerOptions(); - options.IntroduceInstabilityByIgnoringProtectedModeSettings = true; - - - - For use with InternetExplorerDriver: - - - - InternetExplorerDriver driver = new InternetExplorerDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Internet Explorer driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling where - has already been added will overwrite the existing value with the new value in - - - - Returns DesiredCapabilities for IE with these options included as - capabilities. This copies the options. Further changes will not be - reflected in the returned capabilities. - - The DesiredCapabilities for IE with these options. - - - - Gets or sets a value indicating whether to ignore the settings of the Internet Explorer Protected Mode. - - - - - Gets or sets a value indicating whether to ignore the zoom level of Internet Explorer . - - - - - Gets or sets a value indicating whether to use native events in interacting with elements. - - - - - Gets or sets a value indicating whether to require the browser window to have focus before interacting with elements. - - - - - Gets or sets the initial URL displayed when IE is launched. If not set, the browser launches - with the internal startup page for the WebDriver server. - - - By setting the to - and this property to a correct URL, you can launch IE in the Internet Protected Mode zone. This can be helpful - to avoid the flakiness introduced by ignoring the Protected Mode settings. Nevertheless, setting Protected Mode - zone settings to the same value in the IE configuration is the preferred method. - - - - - Gets or sets the value for describing how elements are scrolled into view in the IE driver. Defaults - to scrolling the element to the top of the viewport. - - - - - Gets or sets the value for describing how unexpected alerts are to be handled in the IE driver. - Defaults to . - - - - - Gets or sets the value for describing how the browser is to wait for pages to load in the IE driver. - Defaults to . - - - - - Gets or sets a value indicating whether to enable persistently sending WM_MOUSEMOVE messages - to the IE window during a mouse hover. - - - - - Gets or sets the amount of time the driver will attempt to look for a newly launched instance - of Internet Explorer. - - - - - Gets or sets the amount of time the driver will attempt to look for the file selection - dialog when attempting to upload a file. - - - - - Gets or sets a value indicating whether to force the use of the Windows CreateProcess API - when launching Internet Explorer. The default value is . - - - - - Gets or sets a value indicating whether to force the use of the Windows ShellWindows API - when attaching to Internet Explorer. The default value is . - - - - - Gets or sets a value indicating whether to validate the document type of the loaded - document when setting cookies. - - - - - Gets or sets the command line arguments used in launching Internet Explorer when the - Windows CreateProcess API is used. This property only has an effect when the - is . - - - - - Gets or sets the to be used with Internet Explorer. By default, - will install the specified proxy to be the system proxy, used by all instances of - Internet Explorer. To change this default behavior, change the - property. - - - - - Gets or sets a value indicating whether to use the supplied - settings on a per-process basis, not updating the system installed proxy setting. - This property is only valid when setting a , where the - property is either , - , or , and is - otherwise ignored. Defaults to . - - - - - Gets or sets a value indicating whether to clear the Internet Explorer cache - before launching the browser. When set to , clears the - system cache for all instances of Internet Explorer, even those already running - when the driven instance is launched. Defaults to . - - - - - Gets or sets a value indicating whether to enable full-page screenshots for - the IE driver. Defaults to . - - - - - InternetExplorerWebElement allows you to have access to specific items that are found on the page. - - - - - - [Test] - public void TestGoogle() - { - driver = new InternetExplorerDriver(); - InternetExplorerWebElement elem = driver.FindElement(By.Name("q")); - elem.SendKeys("Cheese please!"); - } - - - - - - Initializes a new instance of the class. - - Driver in use. - ID of the element. - - - - Provides a mechanism for building advanced interactions with the browser. - - - - - Initializes a new instance of the class. - - The object on which the actions built will be performed. - - - - Sends a modifier key down message to the browser. - - The key to be sent. - A self-reference to this . - If the key sent is not is not one - of , , or . - - - - Sends a modifier key down message to the specified element in the browser. - - The element to which to send the key command. - The key to be sent. - A self-reference to this . - If the key sent is not is not one - of , , or . - - - - Sends a modifier key up message to the browser. - - The key to be sent. - A self-reference to this . - If the key sent is not is not one - of , , or . - - - - Sends a modifier up down message to the specified element in the browser. - - The element to which to send the key command. - The key to be sent. - A self-reference to this . - If the key sent is not is not one - of , , or . - - - - Sends a sequence of keystrokes to the browser. - - The keystrokes to send to the browser. - A self-reference to this . - - - - Sends a sequence of keystrokes to the specified element in the browser. - - The element to which to send the keystrokes. - The keystrokes to send to the browser. - A self-reference to this . - - - - Clicks and holds the mouse button down on the specified element. - - The element on which to click and hold. - A self-reference to this . - - - - Clicks and holds the mouse button at the last known mouse coordinates. - - A self-reference to this . - - - - Releases the mouse button on the specified element. - - The element on which to release the button. - A self-reference to this . - - - - Releases the mouse button at the last known mouse coordinates. - - A self-reference to this . - - - - Clicks the mouse on the specified element. - - The element on which to click. - A self-reference to this . - - - - Clicks the mouse at the last known mouse coordinates. - - A self-reference to this . - - - - Double-clicks the mouse on the specified element. - - The element on which to double-click. - A self-reference to this . - - - - Double-clicks the mouse at the last known mouse coordinates. - - A self-reference to this . - - - - Moves the mouse to the specified element. - - The element to which to move the mouse. - A self-reference to this . - - - - Moves the mouse to the specified offset of the top-left corner of the specified element. - - The element to which to move the mouse. - The horizontal offset to which to move the mouse. - The vertical offset to which to move the mouse. - A self-reference to this . - - - - Moves the mouse to the specified offset of the last known mouse coordinates. - - The horizontal offset to which to move the mouse. - The vertical offset to which to move the mouse. - A self-reference to this . - - - - Right-clicks the mouse on the specified element. - - The element on which to right-click. - A self-reference to this . - - - - Right-clicks the mouse at the last known mouse coordinates. - - A self-reference to this . - - - - Performs a drag-and-drop operation from one element to another. - - The element on which the drag operation is started. - The element on which the drop is performed. - A self-reference to this . - - - - Performs a drag-and-drop operation on one element to a specified offset. - - The element on which the drag operation is started. - The horizontal offset to which to move the mouse. - The vertical offset to which to move the mouse. - A self-reference to this . - - - - Builds the sequence of actions. - - A composite which can be used to perform the actions. - - - - Performs the currently built action. - - - - - Gets the instance of the specified . - - The to get the location of. - The of the . - - - - Adds an action to current list of actions to be performed. - - The to be added. - - - - Defines an action for keyboard and mouse interaction with the browser. - - - - - Initializes a new instance of the class for the given element. - - An object that provides coordinates for this action. - - - - Initializes a new instance of the class. - - This action will take place in the context of the previous action's coordinates. - - - - Gets the target of the action providing coordinates of the action. - - - - - Defines an action for mouse interaction with the browser. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Moves the mouse to the location at which to perform the action. - - - - - Gets the coordinates at which to perform the mouse action. - - - - - Gets the mouse with which to perform the action. - - - - - Provides methods by which an interaction with the browser can be performed. - - - - - Performs this action on the browser. - - - - - Defines an action for releasing the currently held mouse button. - - - This action can be called for an element different than the one - ClickAndHoldAction was called for. However, if this action is - performed out of sequence (without holding down the mouse button, - for example) the results will be different. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action for clicking on an element. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action for clicking and holding the mouse button on an element. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action that consists of a list of other actions to be performed in the browser. - - - - - Adds an action to the list of actions to be performed. - - An to be appended to the - list of actions to be performed. - A self reference. - - - - Performs the actions defined in this list of actions. - - - - - Defines an action for clicking the secondary mouse button on an element, displaying a context menu. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action for double-clicking on an element. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action for keyboard interaction with the browser. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - An object providing the element on which to perform the action. - - - - Gets the touch screen with which to perform the action. - - - - - Gets the location at which to perform the action. - - - - - Creates a double tap gesture on a touch screen. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs the action. - - - - - Creates a flick gesture on a touch screen. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - The horizontal speed in pixels per second. - The vertical speed in pixels per second. - - - - Initializes a new instance of the class for use with the specified element. - - The with which the action will be performed. - An describing an element at which to perform the action. - The x offset relative to the viewport. - The y offset relative to the viewport. - The speed in pixels per second. - - - - Performs the action. - - - - - Provides location of the element using various frames of reference. - - - - - Gets the location of an element in absolute screen coordinates. - - - - - Gets the location of an element relative to the origin of the view port. - - - - - Gets the location of an element's position within the HTML DOM. - - - - - Gets a locator providing a user-defined location for this element. - - - - - Defines an action for keyboard interaction with the browser. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - The to use in setting focus to the element on which to perform the action. - An object providing the element on which to perform the action. - - - - Focuses on the element on which the action is to be performed. - - - - - Gets the keyboard with which to perform the action. - - - - - Defines an action for keyboard interaction with the browser using a single modifier key. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - The to use in setting focus to the element on which to perform the action. - An object providing the element on which to perform the action. - The modifier key (, , ) to use in the action. - - - - Gets the key with which to perform the action. - - - - - Defines an action for pressing a modifier key (Shift, Alt, or Control) on the keyboard. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - The to use in setting focus to the element on which to perform the action. - An object providing the element on which to perform the action. - The modifier key (, , ) to use in the action. - - - - Performs this action. - - - - - Defines an action for releasing a modifier key (Shift, Alt, or Control) on the keyboard. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - The to use in setting focus to the element on which to perform the action. - An object providing the element on which to perform the action. - The modifier key (, , ) to use in the action. - - - - Performs this action. - - - - - Creates a long press gesture on a touch screen. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs the action. - - - - - Defines an action for moving the mouse to a specified location. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs this action. - - - - - Defines an action for moving the mouse to a specified offset from its current location. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - The horizontal offset from the origin of the target to which to move the mouse. - The vertical offset from the origin of the target to which to move the mouse. - - - - Performs this action. - - - - - Presses a touch screen at a given location. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Performs the action. - - - - - Presses a touch screen at a given location. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Performs the action. - - - - - Presses a touch screen at a given location. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Performs the action. - - - - - Creates a double tap gesture on a touch screen. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - The horizontal offset relative to the view port. - The vertical offset relative to the view port. - - - - Initializes a new instance of the class for use with the specified element. - - The with which the action will be performed. - An describing an element at which to perform the action. - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Performs the action. - - - - - Defines an action for sending a sequence of keystrokes to an element. - - - - - Initializes a new instance of the class. - - The to use in performing the action. - The to use in setting focus to the element on which to perform the action. - An object providing the element on which to perform the action. - The key sequence to send. - - - - Performs this action. - - - - - Creates a single tap gesture on a touch screen. - - - - - Initializes a new instance of the class. - - The with which the action will be performed. - An describing an element at which to perform the action. - - - - Performs the action. - - - - - Provides a mechanism for building advanced interactions with the browser. - - - - - Initializes a new instance of the class. - - The object on which the actions built will be performed. - - - - Taps the touch screen on the specified element. - - The element on which to tap. - A self-reference to this . - - - - Presses down at the specified location on the screen. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - A self-reference to this . - - - - Releases a press at the specified location on the screen. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - A self-reference to this . - - - - Moves to the specified location on the screen. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - A self-reference to this . - - - - Scrolls the touch screen beginning at the specified element. - - The element on which to begin scrolling. - The x coordinate relative to the view port. - The y coordinate relative to the view port. - A self-reference to this . - - - - Double-taps the touch screen on the specified element. - - The element on which to double-tap. - A self-reference to this . - - - - Presses and holds on the touch screen on the specified element. - - The element on which to press and hold - A self-reference to this . - - - - Scrolls the touch screen to the specified offset. - - The horizontal offset relative to the view port. - The vertical offset relative to the view port. - A self-reference to this . - - - - Flicks the current view. - - The horizontal speed in pixels per second. - The vertical speed in pixels per second. - A self-reference to this . - - - - Flicks the current view starting at a specific location. - - The element at which to start the flick. - The x offset relative to the viewport. - The y offset relative to the viewport. - The speed in pixels per second. - A self-reference to this . - - - - Utility class used to execute "asynchronous" scripts. This class should - only be used by browsers that do not natively support asynchronous - script execution. - Warning: this class is intended for internal use - only. This class will be removed without warning after all - native asynchronous implementations have been completed. - - - - - Initializes a new instance of the class. - - An object capable of executing JavaScript. - - - - Executes a JavaScript script asynchronously. - - The script to execute. - An array of objects used as arguments in the script. - The object which is the return value of the script. - if the object executing the function doesn't support JavaScript. - if the page reloads during the JavaScript execution. - if the timeout expires during the JavaScript execution. - - - - Gets or sets the timeout for the script executor. - - - - - Encapsulates methods for working with files. - - - - - Recursively copies a directory. - - The source directory to copy. - The destination directory. - - if the copy is completed; otherwise . - - - - Recursively deletes a directory, retrying on error until a timeout. - - The directory to delete. - This method does not throw an exception if the delete fails. - - - - Searches for a file with the specified name. - - The name of the file to find. - The full path to the directory where the file can be found, - or an empty string if the file does not exist in the locations searched. - - This method looks first in the directory of the currently executing - assembly. If the specified file is not there, the method then looks in - each directory on the PATH environment variable, in order. - - - - - Gets the directory of the currently executing assembly. - - The directory of the currently executing assembly. - - - - Generates the full path to a random directory name in the temporary directory, following a naming pattern.. - - The pattern to use in creating the directory name, following standard - .NET string replacement tokens. - The full path to the random directory name in the temporary directory. - - - - Defines the interface through which the user can discover if there is an underlying element to be used. - - - - - Gets the wrapped by this object. - - - - - Provides entry points into needed unmanaged APIs. - - - - - Values for flags for setting information about a native operating system handle. - - - - - Sets the handle information for a Windows object. - - Handle to the object. - The handle information to set. - The flags for the handle. - - if the information is set; otherwise . - - - - Encapsulates methods for working with ports. - - - - - Finds a random, free port to be listened on. - - A random, free port to be listened on. - - - - Encapsulates methods for finding and extracting WebDriver resources. - - - - - Gets a that contains the resource to use. - - A file name in the file system containing the resource to use. - A string representing the resource name embedded in the - executing assembly, if it is not found in the file system. - A Stream from which the resource can be read. - Thrown if neither the file nor the embedded resource can be found. - - The GetResourceStream method searches for the specified resource using the following - algorithm: - In the same directory as the calling assembly.In the full path specified by the argument.Inside the calling assembly as an embedded resource. - - - - Returns a value indicating whether a resource exists with the specified ID. - - ID of the embedded resource to check for. - - if the resource exists in the calling assembly; otherwise . - - - - Represents a cookie returned to the driver by the browser. - - - - - Initializes a new instance of the class with a specific name, - value, domain, path and expiration date. - - The name of the cookie. - The value of the cookie. - The domain of the cookie. - The path of the cookie. - The expiration date of the cookie. - - if the cookie is secure; otherwise - - if the cookie is an HTTP-only cookie; otherwise - If the name is or an empty string, - or if it contains a semi-colon. - If the value or currentUrl is . - - - - Creates and returns a string representation of the current cookie. - - A string representation of the current cookie. - - - - Gets a value indicating whether the cookie is secure. - - - - - Gets a value indicating whether the cookie is an HTTP-only cookie. - - - - - Unique class for compression/decompression file. Represents a Zip file. - - - - - Compression method enumeration. - - - - - Represents an entry in Zip file directory - - - - Overriden method - Filename in Zip - - - - Create a new zip storage in a stream. - - The stream to use to create the Zip file. - General comment for Zip file. - A valid ZipStorer object. - - - - Open the existing Zip storage in a stream. - - Already opened stream with zip contents. - File access mode for stream operations. - A valid ZipStorer object. - - - - Add full contents of a file into the Zip storage. - - Compression method used to store the file. - Full path of file to add to Zip storage. - File name and path as desired in Zip directory. - Comment for stored file. - - - - Add full contents of a stream into the Zip storage. - - Compression method used to store the stream. - Stream object containing the data to store in Zip. - File name and path as desired in Zip directory. - Modification time of the data to store. - Comment for stored file. - - - - Updates central directory (if needed) and close the Zip storage. - - This is a required step, unless automatic dispose is used. - - - - Read all the file records in the central directory. - - List of all entries in directory. - - - - Copy the contents of a stored file into a physical file. - - Entry information of file to extract. - Name of file to store uncompressed data. - - if the file is successfully extracted; otherwise, . - Unique compression methods are Store and Deflate. - - - - Copy the contents of a stored file into an open stream. - - Entry information of file to extract. - Stream to store the uncompressed data. - - if the file is successfully extracted; otherwise, . - Unique compression methods are Store and Deflate. - - - - Closes the Zip file stream. - - - - - Gets a value indicating whether file names and comments should be encoded using UTF-8. - - - - - Gets a value indicating whether to force using the deflate algorithm, - even if doing so inflates the stored file. - - - - - Provides a mechanism to write tests against Opera - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new OperaDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - } - } - - - - - - Accept untrusted SSL Certificates - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified options. - - The to be used with the Opera driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing OperaDriver.exe. - - The full path to the directory containing OperaDriver.exe. - - - - Initializes a new instance of the class using the specified path - to the directory containing OperaDriver.exe and options. - - The full path to the directory containing OperaDriver.exe. - The to be used with the Opera driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing OperaDriver.exe, options, and command timeout. - - The full path to the directory containing OperaDriver.exe. - The to be used with the Opera driver. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified - and options. - - The to use. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified . - - The to use. - The to be used with the Opera driver. - The maximum amount of time to wait for each command. - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The Opera driver does not allow a file detector to be set, - as the server component of the Opera driver (OperaDriver.exe) only - allows uploads from the local computer environment. Attempting to set - this property has no effect, but does not throw an exception. If you - are attempting to run the Opera driver remotely, use - in conjunction with a standalone WebDriver server. - - - - Exposes the service provided by the native OperaDriver executable. - - - - - Initializes a new instance of the class. - - The full path to the OperaDriver executable. - The file name of the OperaDriver executable. - The port on which the OperaDriver executable should listen. - - - - Creates a default instance of the OperaDriverService. - - A OperaDriverService that implements default settings. - - - - Creates a default instance of the OperaDriverService using a specified path to the OperaDriver executable. - - The directory containing the OperaDriver executable. - A OperaDriverService using a random port. - - - - Creates a default instance of the OperaDriverService using a specified path to the OperaDriver executable with the given name. - - The directory containing the OperaDriver executable. - The name of the OperaDriver executable file. - A OperaDriverService using a random port. - - - - Gets or sets the location of the log file written to by the OperaDriver executable. - - - - - Gets or sets the base URL path prefix for commands (e.g., "wd/url"). - - - - - Gets or sets the address of a server to contact for reserving a port. - - - - - Gets or sets the port on which the Android Debug Bridge is listening for commands. - - - - - Gets or sets a value indicating whether to enable verbose logging for the OperaDriver executable. - Defaults to . - - - - - Gets the command-line arguments for the driver service. - - - - - Class to manage options specific to - - Used with OperaDriver.exe for Chromium v0.1.0 and higher. - - - - OperaOptions options = new OperaOptions(); - options.AddExtensions("\path\to\extension.crx"); - options.BinaryLocation = "\path\to\opera"; - - - - For use with OperaDriver: - - - - OperaDriver driver = new OperaDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Gets the name of the capability used to store Opera options in - a object. - - - - - Adds a single argument to the list of arguments to be appended to the Opera.exe command line. - - The argument to add. - - - - Adds arguments to be appended to the Opera.exe command line. - - An array of arguments to add. - - - - Adds arguments to be appended to the Opera.exe command line. - - An object of arguments to add. - - - - Adds a single argument to be excluded from the list of arguments passed by default - to the Opera.exe command line by operadriver.exe. - - The argument to exclude. - - - - Adds arguments to be excluded from the list of arguments passed by default - to the Opera.exe command line by operadriver.exe. - - An array of arguments to exclude. - - - - Adds arguments to be excluded from the list of arguments passed by default - to the Opera.exe command line by operadriver.exe. - - An object of arguments to exclude. - - - - Adds a path to a packed Opera extension (.crx file) to the list of extensions - to be installed in the instance of Opera. - - The full path to the extension to add. - - - - Adds a list of paths to packed Opera extensions (.crx files) to be installed - in the instance of Opera. - - An array of full paths to the extensions to add. - - - - Adds a list of paths to packed Opera extensions (.crx files) to be installed - in the instance of Opera. - - An of full paths to the extensions to add. - - - - Adds a base64-encoded string representing a Opera extension to the list of extensions - to be installed in the instance of Opera. - - A base64-encoded string representing the extension to add. - - - - Adds a list of base64-encoded strings representing Opera extensions to the list of extensions - to be installed in the instance of Opera. - - An array of base64-encoded strings representing the extensions to add. - - - - Adds a list of base64-encoded strings representing Opera extensions to be installed - in the instance of Opera. - - An of base64-encoded strings - representing the extensions to add. - - - - Adds a preference for the user-specific profile or "user data directory." - If the specified preference already exists, it will be overwritten. - - The name of the preference to set. - The value of the preference to set. - - - - Adds a preference for the local state file in the user's data directory for Opera. - If the specified preference already exists, it will be overwritten. - - The name of the preference to set. - The value of the preference to set. - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Opera driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling - where has already been added will overwrite the - existing value with the new value in . - Also, by default, calling this method adds capabilities to the options object passed to - operadriver.exe. - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Opera driver. - - The name of the capability to add. - The value of the capability to add. - Indicates whether the capability is to be set as a global - capability for the driver instead of a Opera-specific option. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling - where has already been added will overwrite the - existing value with the new value in - - - - Returns DesiredCapabilities for Opera with these options included as - capabilities. This does not copy the options. Further changes will be - reflected in the returned capabilities. - - The DesiredCapabilities for Opera with these options. - - - - Gets or sets the location of the Opera browser's binary executable file. - - - - - Gets or sets a value indicating whether Opera should be left running after the - OperaDriver instance is exited. Defaults to . - - - - - Gets or sets the proxy to use with this instance of Opera. - - - - - Gets the list of arguments appended to the Opera command line as a string array. - - - - - Gets the list of extensions to be installed as an array of base64-encoded strings. - - - - - Gets or sets the address of a Opera debugger server to connect to. - Should be of the form "{hostname|IP address}:port". - - - - - Gets or sets the directory in which to store minidump files. - - - - - Provides a mechanism to get elements off the page for test - - - - - Initializes a new instance of the class - - Driver in use - Id of the element - - - - Allows the user to specify the name of an argument to be used on the command line for PhantomJS. - - - - - Initializes a new instance of the class. - - The name of the argument to be used in the PhantomJS command line. - - - - Gets the name of the argument to be used in the PhantomJS command line. - - - - - Provides a way to access PhantomJS to run your tests by creating a PhantomJSDriver instance - - - When the WebDriver object has been instantiated the browser will load. The test can then navigate to the URL under test and - start your test. - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new PhantomJSDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - driver.Dispose(); - } - } - - - - - - Command name of the PhantomJS-specific command to execute native script in PhantomJS. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the desired options. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified driver service. - - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing PhantomJS.exe. - - The full path to the directory containing PhantomJS.exe. - - - - Initializes a new instance of the class using the specified path - to the directory containing PhantomJS.exe and options. - - The full path to the directory containing PhantomJS.exe. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified path - to the directory containing PhantomJS.exe, options, and command timeout. - - The full path to the directory containing PhantomJS.exe. - The used to initialize the driver. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class using the specified - and options. - - The to use. - The used to initialize the driver. - - - - Initializes a new instance of the class using the specified . - - The to use. - The used to initialize the driver. - The maximum amount of time to wait for each command. - - - - Execute a PhantomJS script fragment. Provides extra functionality not found in WebDriver - but available in PhantomJS. - - The fragment of PhantomJS JavaScript to execute. - List of arguments to pass to the function that the script is wrapped in. - These can accessed in the script as 'arguments[0]', 'arguments[1]','arguments[2]', etc - - The result of the evaluation. - - - See the PhantomJS API - for details on what is available. - - - A 'page' variable pointing to currently selected page is available for use. - If there is no page yet, one is created. - - - When overriding any callbacks be sure to wrap in a try/catch block, as failures - may cause future WebDriver calls to fail. - - - Certain callbacks are used by GhostDriver (the PhantomJS WebDriver implementation) - already. Overriding these may cause the script to fail. It's a good idea to check - for existing callbacks before overriding. - - - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The PhantomJS driver does not allow a file detector to be set, - as PhantomJS only allows uploads from the local computer environment. - Attempting to set this property has no effect, but does not throw an - exception. If you are attempting to run the PhantomJS driver remotely, - use in conjunction with a standalone - WebDriver server. - - - - Exposes the service provided by the native PhantomJS executable and GhostDriver JavaScript library. - - - - - Prevents a default instance of the class from being created. - - - This constructor is only used by the unit tests. It should not be - used in any other circumstances. - - - - - Initializes a new instance of the class. - - The full path to the PhantomJS executable. - The file name of the PhantomJS executable. - The port on which the IEDriverServer executable should listen. - - - - Creates a default instance of the PhantomJSDriverService. - - A PhantomJSDriverService that implements default settings. - - - - Creates a default instance of the PhantomJSDriverService using a specified path to the PhantomJS executable. - - The directory containing the PhantomJS executable. - A PhantomJSDriverService using a random port. - - - - Creates a default instance of the PhantomJSDriverService using a specified path to the PhantomJS executable with the given name. - - The directory containing the PhantomJS executable. - The name of the PhantomJS executable file. - A PhantomJSDriverService using a random port. - - - - Adds a single argument to the list of arguments to be appended to the PhantomJS.exe command line. - - The argument to add. - - - - Adds arguments to be appended to the PhantomJS.exe command line. - - An array of arguments to add. - - - - Adds arguments to be appended to the PhantomJS.exe command line. - - An object of arguments to add. - - - - Serializes the service options to JSON to be used as a configuration file for PhantomJS.exe (via the --config argument). - - The JSON representation of the configured service options. - - - - Gets or sets the file name used to store the persistent cookies. - - - - - Gets or sets a value indicating whether the disk cache is enabled (at desktop services cache storage location, default is no). - - - - - Gets or sets a value indicating whether SSL errors are ignored, such as expired or self-signed certificate errors (default is no). - - - - - Gets or sets a value indicating whether all inlined images are loaded (default is yes). - - - - - Gets or sets the path to save LocalStorage content and WebSQL content. - - - - - Gets or sets the maximum size to allow for data. - - - - - Gets or sets a value indicating whether local content is allowed to access remote URL (default is no). - - - - - Gets or sets the size limit of the disk cache in KB. - - - - - Gets or sets the encoding used for terminal output (default is "utf8"). - - - - - Gets or sets the proxy server information (in the format of {address} or {address}:{port}). - - - - - Gets or sets the type of the proxy server ('http', 'socks5' or 'none'). - - - - - Gets or sets the proxy authentication info (e.g. username:password). - - - - - Gets or sets the encoding used for the starting script (default is "utf8"). - - - - - Gets or sets the SSL protocol for secure connections ('sslv3' (default), 'sslv2', 'tlsv1' or 'any'). - - - - - Gets or sets the location for custom CA certificates (if none set, uses system default). - - - - - Gets or sets a value indicating whether web security is enabled and forbids cross-domain XHR (default is yes). - - - - - Gets or sets the location where the GhostDriver JavaScript file is located. This - allows the use of an external implementation of GhostDriver instead of the - implementation embedded inside the PhantomJS executable. - - - - - Gets or sets the IP address to use when starting the GhostDriver implementation - embedded in PhantomJS. - - - - - Gets or sets the URL of a Selenium Grid hub with which this PhantomJS instance should register. - - - - - Gets or sets the location of the log file to which PhantomJS will write log - output. If this value is or an empty string, the log - output will be written to the console window. - - - - - Gets the list of arguments appended to the PhantomJS command line as a string array. - - - - - Gets or sets the path to the JSON configuration file (in lieu of providing any other parameters). - - If a instance is serialized to JSON, it can be saved to a - file and used as a JSON configuration source for the PhantomJS.exe process. - - - var configOptions = PhantomJSDriverService.CreateDefaultService() - { - CookiesFile = "cookiesFile", - DiskCache = true, - IgnoreSslErrors = true, - LoadImages = true, - LocalToRemoteUrlAccess = true, - MaxDiskCacheSize = 1000, - OutputEncoding = "abc", - Proxy = "address:999", - ProxyType = "socks5", - ScriptEncoding = "def", - SslProtocol = "sslv2", - WebSecurity = true, - }; - - string json = configOptions.ToJson(); - - File.WriteAllText(@"C:\temp\myconfig.json", json); - - var driverService = PhantomJSDriver.CreateDefaultService(); - driverService.ConfigFile = @"C:\temp\myconfig.json"; - - var driver = new PhantomJSDriver(driverService); // Launches PhantomJS.exe using JSON configuration file. - - - - - - Gets the command-line arguments for the driver service. - - - - - Class to manage options specific to - - - PhantomJSOptions options = new PhantomJSOptions(); - - - - For use with PhantomJSDriver: - - - - PhantomJSDriver driver = new PhantomJSDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the PhantomJS driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling where - has already been added will overwrite the existing value with the new value in - - - - Returns DesiredCapabilities for PhantomJS with these options included as - capabilities. This copies the options. Further changes will not be - reflected in the returned capabilities. - - The DesiredCapabilities for PhantomJS with these options. - - - - PhantomJSWebElement allows you to have access to specific items that are found on the page. - - - - - - [Test] - public void TestGoogle() - { - driver = new PhantomJSDriver(); - PhantomJSWebElement elem = driver.FindElement(By.Name("q")); - elem.SendKeys("Cheese please!"); - } - - - - - - Initializes a new instance of the class. - - Driver in use. - ID of the element. - - - - Provides types of capabilities for the DesiredCapabilities object. - - - - - Capability name used for the browser name. - - - - - Capability name used for the browser platform. - - - - - Capability name used for the browser version. - - - - - Capability name used to indicate whether JavaScript is enabled for the browser. - - - - - Capability name used to indicate whether the browser can take screenshots. - - - - - Capability name used to indicate whether the browser can handle alerts. - - - - - Capability name used to indicate whether the browser can find elements via CSS selectors. - - - - - Capability name used for the browser proxy. - - - - - Capability name used to indicate whether the browser supports rotation. - - - - - Capability name used to indicate whether the browser accepts SSL certificates. - - - - - Capability name used to indicate whether the browser uses native events. - - - - - Capability name used to indicate how the browser handles unexpected alerts. - - - - - Capability name used to indicate the page load strategy for the browser. - - - - - Capability name used to indicate the logging preferences for the session. - - - - - Capability name used to disable the check for overlapping elements. - - - - - Capability name used to enable the profiling log for the session. - - - - - Capability name used to indicate whether the driver supports geolocation context. - - - - - Capability name used to indicate whether the driver supports application cache. - - - - - Capability name used to indicate whether the driver supports web storage. - - - - - Provides a way to send commands to the remote server - - - - - Initializes a new instance of the class using a command name and a JSON-encoded string for the parameters. - - Name of the command - Parameters for the command as a JSON-encoded string. - - - - Initializes a new instance of the class for a Session - - Session ID the driver is using - Name of the command - Parameters for that command - - - - Returns a string of the Command object - - A string representation of the Command Object - - - - Gets the command parameters as a , with a string key, and an object value. - - The JSON-encoded string representing the command parameters. - A with a string keys, and an object value. - - - - Gets the SessionID of the command - - - - - Gets the command name - - - - - Gets the parameters of the command - - - - - Gets the parameters of the command as a JSON-encoded string. - - - - - Provides the execution information for a . - - - - - POST verb for the command info - - - - - GET verb for the command info - - - - - DELETE verb for the command info - - - - - Initializes a new instance of the class - - Method of the Command - Relative URL path to the resource used to execute the command - - - - Creates a web request for your command - - Uri that will have the command run against - Command to execute - A web request of what has been run - - - - Gets the URL representing the path to the resource. - - - - - Gets the HTTP method associated with the command. - - - - - Holds the information about all commands specified by the JSON wire protocol. - This class cannot be inherited, as it is intended to be a singleton, and - allowing subclasses introduces the possibility of multiple instances. - - - - - Initializes a new instance of the class. - Protected accessibility prevents a default instance from being created. - - - - - Gets the for a . - - The for which to get the information. - The for the specified command. - - - - Tries to add a command to the list of known commands. - - Name of the command. - The command information. - - if the new command has been added successfully; otherwise, . - - This method is used by WebDriver implementations to add additional custom driver-specific commands. - This method will not overwrite existing commands for a specific name, and will return - in that case. - - - - - Initializes the dictionary of commands for the CommandInfoRepository - - - - - Gets the level of the W3C WebDriver specification that this repository supports. - - - - - Class to Create the capabilities of the browser you require for . - If you wish to use default values use the static methods - - - - - Initializes a new instance of the class - - Name of the browser e.g. firefox, internet explorer, safari - Version of the browser - The platform it works on - - - - Initializes a new instance of the class - - - - - Initializes a new instance of the class - - Dictionary of items for the remote driver - - - DesiredCapabilities capabilities = new DesiredCapabilities(new Dictionary]]>(){["browserName","firefox"],["version",string.Empty],["javaScript",true]}); - - - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Firefox - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Firefox - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Internet Explorer - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Microsoft Edge - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with HTMLUnit - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with HTMLUnit with JS - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with iPhone - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with iPad - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Chrome - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Android - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Opera - - - - Method to return a new DesiredCapabilities using defaults - - New instance of DesiredCapabilities for use with Safari - - - - Gets a value indicating whether the browser has a given capability. - - The capability to get. - Returns if the browser has the capability; otherwise, . - - - - Gets a capability of the browser. - - The capability to get. - An object associated with the capability, or - if the capability is not set on the browser. - - - - Sets a capability of the browser. - - The capability to get. - The value for the capability. - - - - Converts the object to a . - - The containing the capabilities. - - - - Return HashCode for the DesiredCapabilities that has been created - - Integer of HashCode generated - - - - Return a string of capabilities being used - - String of capabilities being used - - - - Compare two DesiredCapabilities and will return either true or false - - DesiredCapabilities you wish to compare - true if they are the same or false if they are not - - - - Gets the browser name - - - - - Gets or sets the platform - - - - - Gets the browser version - - - - - Gets or sets a value indicating whether the browser is JavaScript enabled - - - - - Gets the internal capabilities dictionary. - - - - - Values describing the list of commands understood by a remote server using the JSON wire protocol. - - - - - Represents the Define Driver Mapping command - - - - - Represents the Status command. - - - - - Represents a New Session command - - - - - Represents the Get Session List command - - - - - Represents the Get Session Capabilities command - - - - - Represents a Browser close command - - - - - Represents a browser quit command - - - - - Represents a GET command - - - - - Represents a Browser going back command - - - - - Represents a Browser going forward command - - - - - Represents a Browser refreshing command - - - - - Represents adding a cookie command - - - - - Represents getting all cookies command - - - - - Represents getting cookie command - - - - - Represents deleting a cookie command - - - - - Represents Deleting all cookies command - - - - - Represents FindElement command - - - - - Represents FindElements command - - - - - Represents FindChildElement command - - - - - Represents FindChildElements command - - - - - Describes an element - - - - - Represents ClearElement command - - - - - Represents ClickElement command - - - - - Represents SendKeysToElements command - - - - - Represents TapElement command - - - - - Represents SubmitElement command - - - - - Represents GetCurrentWindowHandle command - - - - - Represents GetWindowHandles command - - - - - Represents SwitchToWindow command - - - - - Represents SwitchToFrame command - - - - - Represents SwitchToParentFrame command - - - - - Represents GetActiveElement command - - - - - Represents GetCurrentUrl command - - - - - Represents GetPageSource command - - - - - Represents GetTitle command - - - - - Represents ExecuteScript command - - - - - Represents ExecuteAsyncScript command - - - - - Represents GetElementText command - - - - - Represents GetElementTagName command - - - - - Represents IsElementSelected command - - - - - Represents IsElementEnabled command - - - - - Represents IsElementDisplayed command - - - - - Represents GetElementLocation command - - - - - Represents GetElementLocationOnceScrolledIntoView command - - - - - Represents GetElementSize command - - - - - Represents GetElementRect command - - - - - Represents GetElementAttribute command - - - - - Represents GetElementProperty command - - - - - Represents GetElementValueOfCSSProperty command - - - - - Represents ElementEquals command - - - - - Represents Screenshot command - - - - - Represents the ElementScreenshot command - - - - - Represents GetOrientation command - - - - - Represents SetOrientation command - - - - - Represents GetWindowSize command - - - - - Represents SetWindowSize command - - - - - Represents GetWindowPosition command - - - - - Represents SetWindowPosition command - - - - - Represents MaximizeWindow command - - - - - Represents FullScreenWindow command - - - - - Represents the DismissAlert command - - - - - Represents the AcceptAlert command - - - - - Represents the GetAlertText command - - - - - Represents the SetAlertValue command - - - - - Represents the Authenticate command - - - - - Represents the ImplicitlyWait command - - - - - Represents the SetAsyncScriptTimeout command - - - - - Represents the SetTimeout command - - - - - Represents the Actions command. - - - - - Represents the MouseClick command. - - - - - Represents the MouseDoubleClick command. - - - - - Represents the MouseDown command. - - - - - Represents the MouseUp command. - - - - - Represents the MouseMoveTo command. - - - - - Represents the SendKeysToActiveElement command. - - - - - Represents the UploadFile command. - - - - - Represents the TouchSingleTap command. - - - - - Represents the TouchPress command. - - - - - Represents the TouchRelease command. - - - - - Represents the TouchMove command. - - - - - Represents the TouchScroll command. - - - - - Represents the TouchDoubleTap command. - - - - - Represents the TouchLongPress command. - - - - - Represents the TouchFlick command. - - - - - Represents the GetLocation command. - - - - - Represents the SetLocation command. - - - - - Represents the GetAppCache command. - - - - - Represents the application cache GetStatus command. - - - - - Represents the ClearAppCache command. - - - - - Represents the GetLocalStorageItem command. - - - - - Represents the GetLocalStorageKeys command. - - - - - Represents the SetLocalStorageItem command. - - - - - Represents the RemoveLocalStorageItem command. - - - - - Represents the ClearLocalStorage command. - - - - - Represents the GetLocalStorageSize command. - - - - - Represents the GetSessionStorageItem command. - - - - - Represents the GetSessionStorageKeys command. - - - - - Represents the SetSessionStorageItem command. - - - - - Represents the RemoveSessionStorageItem command. - - - - - Represents the ClearSessionStorage command. - - - - - Represents the GetSessionStorageSize command. - - - - - Represents the GetAvailableLogTypes command. - - - - - Represents the GetLog command. - - - - - Provides a mechanism to execute commands on the browser - - - - - Initializes a new instance of the class. - - The that drives the browser. - The maximum amount of time to wait for each command. - - - - Initializes a new instance of the class. - - The that drives the browser. - The maximum amount of time to wait for each command. - - if the KeepAlive header should be sent - with HTTP requests; otherwise, . - - - - Executes a command - - The command you wish to execute - A response from the browser - - - - Gets the object associated with this executor. - - - - - Provides a way to store errors from a response - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified values. - - A containing names and values of - the properties of this . - - - - Gets or sets the message from the response - - - - - Gets or sets the class name that threw the error - - - - - Gets or sets the screenshot of the error - - - - - Gets or sets the stack trace of the error - - - - - Provides a way of executing Commands over HTTP - - - - - Initializes a new instance of the class - - Address of the WebDriver Server - The timeout within which the server must respond. - - - - Initializes a new instance of the class - - Address of the WebDriver Server - The timeout within which the server must respond. - - if the KeepAlive header should be sent - with HTTP requests; otherwise, . - - - - Executes a command - - The command you wish to execute - A response from the browser - - - - Gets the repository of objects containin information about commands. - - - - - Represents a file detector for determining whether a file - must be uploaded to a remote server. - - - - - Returns a value indicating whether a specified key sequence represents - a file name and path. - - The sequence to test for file existence. - - if the key sequence represents a file; otherwise, . - - - - Defines the interface through which the user can manipulate JavaScript alerts. - - - - - Initializes a new instance of the class. - - The for which the alerts will be managed. - - - - Dismisses the alert. - - - - - Accepts the alert. - - - - - Sends keys to the alert. - - The keystrokes to send. - - - - Sets the user name and password in an alert prompting for credentials. - - The user name to set. - The password to set. - - - - Gets the text of the alert. - - - - - Defines the interface through which the user can manipulate application cache. - - - - - Initializes a new instance of the class. - - The for which the application cache will be managed. - - - - Gets the current state of the application cache. - - - - - Defines an interface allowing the user to manipulate cookies on the current page. - - - - - Initializes a new instance of the class. - - The driver that is currently in use - - - - Method for creating a cookie in the browser - - - that represents a cookie in the browser - - - - Delete the cookie by passing in the name of the cookie - - The name of the cookie that is in the browser - - - - Delete a cookie in the browser by passing in a copy of a cookie - - An object that represents a copy of the cookie that needs to be deleted - - - - Delete All Cookies that are present in the browser - - - - - Method for returning a getting a cookie by name - - name of the cookie that needs to be returned - A Cookie from the name - - - - Method for getting a Collection of Cookies that are present in the browser - - ReadOnlyCollection of Cookies in the browser - - - - Gets all cookies defined for the current page. - - - - - Defines the interface through which the user can discover where an element is on the screen. - - - - - Initializes a new instance of the class. - - The to be located. - - - - Gets the location of an element in absolute screen coordinates. - - - - - Gets the location of an element relative to the origin of the view port. - - - - - Gets the location of an element's position within the HTML DOM. - - - - - Gets a locator providing a user-defined location for this element. - - - - - Defines the interface through which the user can execute advanced keyboard interactions. - - - - - Initializes a new instance of the class. - - The for which the keyboard will be managed. - - - - Sends a sequence of keystrokes to the target. - - A string representing the keystrokes to send. - - - - Presses a key. - - The key value representing the key to press. - The key value must be one of the values from the class. - - - - Releases a key. - - The key value representing the key to release. - The key value must be one of the values from the class. - - - - Defines the interface through which the user can manipulate local storage. - - - - - Initializes a new instance of the class. - - The for which the application cache will be managed. - - - - Returns local storage value given a key. - - The key value for the item in storage. - A local storage value given a key, if present, otherwise returns null. - - - - Returns a read-only list of local storage keys. - - A read-only list of local storage keys. - - - - Sets local storage entry using given key/value pair. - - local storage key - local storage value - - - - Removes local storage entry for the given key. - - key to be removed from the list - Response value for the given key. - - - - Removes all entries from the local storage. - - - - - Gets the number of items in local storage. - - - - - Defines the interface through which the user can manipulate browser location. - - - - - Initializes a new instance of the class. - - The for which the application cache will be managed. - - - - Gets or sets a value indicating the physical location of the browser. - - - - - Provides a mechanism for examining logs for the driver during the test. - - - - - Initializes a new instance of the class. - - Instance of the driver currently in use - - - - Gets the set of objects for a specified log. - - The log for which to retrieve the log entries. - Log types can be found in the class. - The list of objects for the specified log. - - - - Gets the list of available log types for this driver. - - - - - Defines the interface through which the user can execute advanced mouse interactions. - - - - - Initializes a new instance of the class. - - The for which the mouse will be managed. - - - - Clicks at a set of coordinates using the primary mouse button. - - An describing where to click. - - - - Double-clicks at a set of coordinates. - - A describing where to double-click. - - - - Presses the primary mouse button at a set of coordinates. - - A describing where to press the mouse button down. - - - - Releases the primary mouse button at a set of coordinates. - - A describing where to release the mouse button. - - - - Moves the mouse to the specified set of coordinates. - - A describing where to move the mouse to. - - - - Moves the mouse to the specified set of coordinates. - - A describing where to click. - A horizontal offset from the coordinates specified in . - A vertical offset from the coordinates specified in . - - - - Clicks at a set of coordinates using the secondary mouse button. - - A describing where to click. - - - - Provides a mechanism for Navigating with the driver. - - - - - Initializes a new instance of the class - - Driver in use - - - - Move the browser back - - - - - Move the browser forward - - - - - Navigate to a url for your test - - String of where you want the browser to go to - - - - Navigate to a url for your test - - Uri object of where you want the browser to go to - - - - Refresh the browser - - - - - Provides a mechanism for setting options needed for the driver during the test. - - - - - Initializes a new instance of the class - - Instance of the driver currently in use - - - - Provides access to the timeouts defined for this driver. - - An object implementing the interface. - - - - Gets an object allowing the user to manipulate cookies on the page. - - - - - Gets an object allowing the user to manipulate the currently-focused browser window. - - "Currently-focused" is defined as the browser window having the window handle - returned when IWebDriver.CurrentWindowHandle is called. - - - - Gets an object allowing the user to examine the logs of the current driver instance. - - - - - Defines the interface through which the user can manipulate session storage. - - - - - Initializes a new instance of the class. - - The driver instance. - - - - Returns session storage value given a key. - - The key of the item in storage. - A session storage value given a key, if present, otherwise return null. - - - - Returns a read-only list of session storage keys. - - A read-only list of session storage keys. - - - - Sets session storage entry using given key/value pair. - - Session storage key - Session storage value - - - - Removes session storage entry for the given key. - - key to be removed from the list - Response value for the given key. - - - - Removes all entries from the session storage. - - - - - Gets the number of items in session storage. - - - - - Provides a mechanism for finding elements on the page with locators. - - - - - Initializes a new instance of the class - - The driver that is currently in use - - - - Move to a different frame using its index - - The index of the - A WebDriver instance that is currently in use - - - - Move to different frame using its name - - name of the frame - A WebDriver instance that is currently in use - - - - Move to a frame element. - - a previously found FRAME or IFRAME element. - A WebDriver instance that is currently in use. - - - - Select the parent frame of the currently selected frame. - - An instance focused on the specified frame. - - - - Change to the Window by passing in the name - - Window handle or name of the window that you wish to move to - A WebDriver instance that is currently in use - - - - Change the active frame to the default - - Element of the default - - - - Finds the active element on the page and returns it - - Element that is active - - - - Switches to the currently active modal dialog for this particular driver instance. - - A handle to the dialog. - - - - Defines the interface through which the user can define timeouts. - - - - - Initializes a new instance of the class - - The driver that is currently in use - - - - Specifies the amount of time the driver should wait when searching for an - element if it is not immediately present. - - A structure defining the amount of time to wait. - A self reference - - When searching for a single element, the driver should poll the page - until the element has been found, or this timeout expires before throwing - a . When searching for multiple elements, - the driver should poll the page until at least one element has been found - or this timeout has expired. - - Increasing the implicit wait timeout should be used judiciously as it - will have an adverse effect on test run time, especially when used with - slower location strategies like XPath. - - - - - Specifies the amount of time the driver should wait when executing JavaScript asynchronously. - - A structure defining the amount of time to wait. - Setting this parameter to will allow the script to run indefinitely. - A self reference - - - - Specifies the amount of time the driver should wait for a page to load when setting the property. - - A structure defining the amount of time to wait. - Setting this parameter to will allow the page to load indefinitely. - A self reference - - - - Defines the interface through which the user can execute advanced touch screen interactions. - - - - - Initializes a new instance of the class. - - The for which the touch screen will be managed. - - - - Allows the execution of single tap on the screen, analogous to click using a Mouse. - - The object representing the location on the screen, - usually an . - - - - Allows the execution of the gesture 'down' on the screen. It is typically the first of a - sequence of touch gestures. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Allows the execution of the gesture 'up' on the screen. It is typically the last of a - sequence of touch gestures. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Allows the execution of the gesture 'move' on the screen. - - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Creates a scroll gesture that starts on a particular screen location. - - The object representing the location on the screen - where the scroll starts, usually an . - The x coordinate relative to the view port. - The y coordinate relative to the view port. - - - - Creates a scroll gesture for a particular x and y offset. - - The horizontal offset relative to the view port. - The vertical offset relative to the view port. - - - - Allows the execution of double tap on the screen, analogous to click using a Mouse. - - The object representing the location on the screen, - usually an . - - - - Allows the execution of a long press gesture on the screen. - - The object representing the location on the screen, - usually an . - - - - Creates a flick gesture for the current view. - - The horizontal speed in pixels per second. - The vertical speed in pixels per second. - - - - Creates a flick gesture for the current view starting at a specific location. - - The object representing the location on the screen - where the scroll starts, usually an . - The x offset relative to the viewport. - The y offset relative to the viewport. - The speed in pixels per second. - - - - Provides remote access to the API. - - - - - Initializes a new instance of the class. - - The driver instance. - - - - Gets the local storage for the site currently opened in the browser. - - - - - Gets the session storage for the site currently opened in the browser. - - - - - Defines the interface through which the user can manipulate the browser window. - - - - - Initializes a new instance of the class. - - Instance of the driver currently in use - - - - Maximizes the current window if it is not already maximized. - - - - - Gets or sets the position of the browser window relative to the upper-left corner of the screen. - - When setting this property, it should act as the JavaScript window.moveTo() method. - - - - Gets or sets the size of the outer browser window, including title bars and window borders. - - When setting this property, it should act as the JavaScript window.resizeTo() method. - - - - Handles reponses from the browser - - - - - Initializes a new instance of the class - - - - - Initializes a new instance of the class - - Session ID in use - - - - Returns a new from a JSON-encoded string. - - The JSON string to deserialize into a . - A object described by the JSON string. - - - - Returns this object as a JSON-encoded string. - - A JSON-encoded string representing this object. - - - - Returns the object as a string. - - A string with the Session ID, status value, and the value from JSON. - - - - Gets or sets the value from JSON. - - - - - Gets or sets the session ID. - - - - - Gets or sets the status value of the response. - - - - - Gets a value indicating whether this response is compliant with the WebDriver specification. - - - - - Provides a mechanism for maintaining a session for a test - - - - - Initializes a new instance of the class - - Key for the session in use - - - - Get the value of the key - - The key in use - - - - Get the hash code of the key - - The hash code of the key - - - - Compares two Sessions - - Session to compare - True if they are equal or False if they are not - - - - Gives properties to get a stack trace - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the given property values. - - A containing the names and values for the properties of this . - - - - Gets a string representation of the object. - - A string representation of the object. - - - - Gets or sets the value of the filename in the stack - - - - - Gets or sets the value of the Class name in the stack trace - - - - - Gets or sets the line number - - - - - Gets or sets the Method name in the stack trace - - - - - Holds the information about all commands specified by the JSON wire protocol. - This class cannot be inherited, as it is intended to be a singleton, and - allowing subclasses introduces the possibility of multiple instances. - - - - - Initializes a new instance of the class. - - - - - Initializes the dictionary of commands for the CommandInfoRepository - - - - - Gets the level of the W3C WebDriver specification that this repository supports. - - - - - Represents an error condition from a remote end using the W3C specification - dialect of the wire protocol. - - - - - Represents the element not selectable error. - - - - - Represents the element not visible error. - - - - - Represents the invalid argument error. - - - - - Represents the invalid element coordinates error. - - - - - Represents the invalid element state error. - - - - - Represents the invalid selector error. - - - - - Represents the invalid session ID error. - - - - - Represents the unhandled JavaScript error. - - - - - Represents the move target out of bounds error. - - - - - Represents the no such alert error. - - - - - Represents the no such element error. - - - - - Represents the no such alert frame. - - - - - Represents the no such alert window. - - - - - Represents the script timeout error. - - - - - Represents the session not created error. - - - - - Represents the stale element reference error. - - - - - Represents the timeout error. - - - - - Represents the unable to set cookie error. - - - - - Represents the unable to capture screen error. - - - - - Represents the unexpected alert open error. - - - - - Represents the unknown command error. - - - - - Represents an unknown error. - - - - - Represents the unknown method error. - - - - - Represents the unsupported operation error. - - - - - Converts a string error to a value. - - The error string to convert. - The converted value. - - - - Holds the information about all commands specified by the JSON wire protocol. - This class cannot be inherited, as it is intended to be a singleton, and - allowing subclasses introduces the possibility of multiple instances. - - - - - Initializes a new instance of the class. - - - - - Initializes the dictionary of commands for the CommandInfoRepository - - - - - Gets the level of the W3C WebDriver specification that this repository supports. - - - - - Provides a way to convert a Char array to JSON - - - - - Checks if the object can be converted - - Type of the object to see if can be converted - True if can be converted else false - - - - Writes the Object to JSON - - A JSON Writer object - Object to be converted - JSON Serializer object instance - - - - Method not implemented - - JSON Reader instance - Object type being read - Existing Value to be read - JSON Serializer instance - Object from JSON - - - - Converts the response to JSON - - - - - Checks if the object can be converted - - The object to be converted - True if it can be converted or false if can't be - - - - Process the reader to return an object from JSON - - A JSON reader - Type of the object - The existing value of the object - JSON Serializer - Object created from JSON - - - - Writes objects to JSON. Currently not implemented - - JSON Writer Object - Value to be written - JSON Serializer - - - - Wraps a command object to give it a unique ID as required by the Safari extension. - - - - - Initializes a new instance of the class. - - The object used as a base for this . - - - - Gets the ID of the command. - - - - - Creates a WebSockets command message according to the SafariDriver specification. - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Gets the origin of the WebSocket message. - - - - - Gets the type of the WebSocket message. - - - - - Gets the wrapped command for transport. - - - - - Provides a way to access Safari to run your tests by creating a SafariDriver instance - - - When the WebDriver object has been instantiated the browser will load. The test can then navigate to the URL under test and - start your test. - - - - [TestFixture] - public class Testing - { - private IWebDriver driver; - - [SetUp] - public void SetUp() - { - driver = new SafariDriver(); - } - - [Test] - public void TestGoogle() - { - driver.Navigate().GoToUrl("http://www.google.co.uk"); - /* - * Rest of the test - */ - } - - [TearDown] - public void TearDown() - { - driver.Quit(); - driver.Dispose(); - } - } - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified . - - The to use for this instance. - - - - Releases the unmanaged resources used by the and - optionally releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets or sets the responsible for detecting - sequences of keystrokes representing file paths and names. - - The Safari driver does not allow a file detector to be set, - as the server component of the Safari driver (the Safari extension) only - allows uploads from the local computer environment. Attempting to set - this property has no effect, but does not throw an exception. If you - are attempting to run the Safari driver remotely, use - in conjunction with a standalone WebDriver server. - - - - Provides a way of executing Commands using the SafariDriver. - - - - - Initializes a new instance of the class. - - The used to create the command executor. - - - - Executes a command - - The command you wish to execute - A response from the browser - - - - Releases all resources used by the . - - - - - Releases the unmanaged resources used by the and - optionally releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets the repository of objects containin information about commands. - - - - - Represents a connection to an instance of the Safari browser. - - - - - Initializes a new instance of the class. - - An representing a - connection using the WebSockets protocol. - - - - Sends a command to the SafariDriver and waits for a response. - - The to send to the driver. - The from the command. - - - - Provides the WebSockets server for communicating with the Safari extension. - - - - - Initializes a new instance of the class using the specified options. - - The defining the browser settings. - - - - Starts the server. - - - - - Sends a command to the server. - - The to send. - The command . - - - - Waits for a connection to be established with the server by the Safari browser extension. - - A containing the amount of time to wait for the connection. - A representing the connection to the browser. - - - - Releases all resources used by the . - - - - - Releases the unmanaged resources used by the and optionally - releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Class to manage options specific to - - - SafariOptions options = new SafariOptions(); - options.SkipExtensionInstallation = true; - - - - For use with SafariDriver: - - - - SafariDriver driver = new SafariDriver(options); - - - - For use with RemoteWebDriver: - - - - RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities()); - - - - - - Initializes a new instance of the class. - - - - - Provides a means to add additional capabilities not yet added as type safe options - for the Safari driver. - - The name of the capability to add. - The value of the capability to add. - - thrown when attempting to add a capability for which there is already a type safe option, or - when is or the empty string. - - Calling where - has already been added will overwrite the existing value with the new value in - - - - Returns ICapabilities for Safari with these options included as - capabilities. This copies the options. Further changes will not be - reflected in the returned capabilities. - - The ICapabilities for Safari with these options. - - - - Gets or sets the install location of the Safari browser. - - - - - Gets or sets the port on which the SafariDriver will listen for commands. - - - - - Gets or sets the path to the SafariDriver.safariextz file from which the extension will be installed. - - - - - Gets or sets a value indicating whether to skip the installation of the SafariDriver extension. - - - Set this property to if the SafariDriver extension is already installed - in Safari, and you don't want to overwrite it with the version included with WebDriver. - - - - - Creates a WebSockets response message according to the SafariDriver specification. - - - - - Returns a new from a JSON-encoded string. - - The JSON string to deserialize into a . - A object described by the JSON string. - - - - Gets or sets the ID of the command. - - - - - Gets or sets the origin of the response message. - - - - - Gets or sets the type of the response message. - - - - - Gets or sets the internal response for the given command. - - - - - Provides arguments for handling the event for accepting connections. - - - - - Initializes a new instance of the class. - - The to use in the event. - - - - Gets the object to use in handling the event. - - - - - Provides arguments for handling the event for receiving a binary message. - - - - - Initializes a new instance of the class. - - The binary data in the message. - - - - Gets the binary data of the message. - - - - - Provides arguments for handling events associated with connections to the server. - - - - - Initializes a new instance of the class. - - The representing the - connection to the client. - - - - Gets the connection to the client. - - - - - Provides arguments for handling events associated with errors. - - - - - Initializes a new instance of the class. - - The thrown for the error condition. - - - - Gets the associated with the error condition. - - - - - Enumerates the types of frames described by the WebSocket protocol. - - - - - Indicates a continuation frame. - - - - - Indicates a text frame. - - - - - Indicates a binary frame. - - - - - Indicates a close frame. - - - - - Indicates a ping frame. - - - - - Indicates a ping response frame. - - - - - Provides a factory for creating handlers for the different versions of the WebSocket protocol. - - - - - Prevents a default instance of the class from being created. - - - - - Creates a handler to handle a . - - The to create the handler for. - An object that can handle the specific protocol version - of the request. - - - - Gets the version of an . - - The to get the protocol version of. - A string containing the version of the protocol of the request. - - - - Provides an exception for handshake errors in the protocol connection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The message 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 message for the exception. - The inner exception that is the cause of this exception. - - - - Initializes a new instance of the class with serialized data. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Provides an interface for handling communication over the WebSocket connection. - - - - - Processes data received by the connection. - - The data to be processed. - - - - Creates a handshake message for initiating connections. - - A byte array containing the handshake message. - - - - Creates a frame for text messages in the WebSocket protocol. - - The text of the message. - A byte array containing the message frame. - - - - Creates a frame for binary messages in the WebSocket protocol. - - The binary data of the message. - A byte array containing the message frame. - - - - Creates a frame for close messages in the WebSocket protocol. - - The connection close code of the message. - A byte array containing the message frame. - - - - Event raised when a text message is processed by the handler. - - - - - Event raised when a binary message is processed by the handler. - - - - - Event raised when a close message is processed by the handler. - - - - - Provides extension methods for converting integers. - - - - - Converts a to a big-endian byte array. - - The value to convert. - A byte array containing a big-endian representation of the value. - - - - Converts a to a big-endian byte array. - - The value to convert. - A byte array containing a big-endian representation of the value. - - - - Converts a byte array to a little-endian value. - - The byte array to convert. - The little-endian representation of the array as a . - - - - Provides an interface for parsing requests. - - - - - Parses the specified data into a . - - The data to be parsed. - The parsed . - - - - Parses the specified data into a for the given scheme. - - The data to be parsed. - The scheme to use in parsing the data. - The parsed . - - - - Provides an interface simplifying the use of asynchronous communication using a socket. - - - - - Accepts a connection for the socket. - - - - - Sends data over the socket. - - The data to be sent. - - - - Receives data over the socket. - - The buffer into which the data will be read. - The offset into the buffer at which the data will be read. - - - - Authenticates over the socket. - - An that specifies authentication information. - - - - Closes the socket connection. - - - - - Binds the socket to a local end point. - - The local end point to which to bind the socket. - - - - Starts listening to data received over the socket. - - The number of pending connections to process. - - - - Gets a value indicating whether the socket is connected. - - - - - Gets the remote IP address of the socket connection. - - - - - Gets a stream for reading and writing data. - - - - - Event raised when a connection is accepted by the socket. - - - - - Event raised when an error occurs accepting a connection. - - - - - Event raised when data is sent through the socket. - - - - - Event raised when there is an error sending data. - - - - - Event raised when data is received by the socket. - - - - - Event raised when there is an error receiving data. - - - - - Event raised when authentication is completed over the socket. - - - - - Event raised when there is an error authenticating over the socket. - - - - - Provides an interface describing a connection to a WebSocket. - - - - - Sends a text message over the connection. - - The text message to send. - - - - Sends a binary message over the connection. - - The binary message to send. - - - - Sends raw text over the connection, without passing through a handler. - - The message to send. - - - - Closes the connection. - - - - - Gets an object describing the connection. - - - - - Event raised when a connection is opened. - - - - - Event raised when a connection is closed. - - - - - Event raised when a text message is received via the connection. - - - - - Event raised when a binary message is received via the connection. - - - - - Event raised when a non-WebSocket message is received. - - - - - Event raised when an error occurs via the connection. - - - - - Event raised when data is sent via the connection. - - - - - Provides an interface describing information about the WebSocket connection. - - - - - Gets the sub-protocol of the connection. - - - - - Gets the origin of the connection. - - - - - Gets the host for the connection. - - - - - Gets the path for the connection. - - - - - Gets the IP address of the client for the connection. - - - - - Gets the collection of cookies for the connection. - - - - - Provides an interface for the server. - - - - - Starts the server. - - - - - Represents the state of a connection. - - - - - Initializes a new instance of the class. - - - - - Clears the current state. - - - - - Gets the data of the current state. - - - - - Gets or sets the frame type of the current state. - - - - - Provides arguments for handling the event for when data is received. - - - - - Initializes a new instance of the class. - - The number of bytes read. - A byte array containing the data read. - - - - Gets the number of bytes read. - - - - - Gets the data read by the connection. - - - - - Parses a request. - - - - - Initializes a new instance of the class. - - - - - Parses the specified data into a . - - The data to be parsed. - The parsed . - - - - Parses the specified data into a for the given scheme. - - The data to be parsed. - The scheme to use in parsing the data. - The parsed . - - - - Provides a wrapper around a . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The to wrap. - - - - Accepts a connection for the socket. - - - - - Sends data over the socket. - - The data to be sent. - - - - Receives data over the socket. - - The buffer into which the data will be read. - The offset into the buffer at which the data will be read. - - - - Authenticates over the socket. - - An that specifies authentication information. - - - - Closes the socket connection. - - - - - Binds the socket to a local end point. - - The local end point to which to bind the socket. - - - - Starts listening to data received over the socket. - - The number of pending connections to process. - - - - Releases all resources used by the . - - - - - Raises the Accepted event. - - An that contains the event data. - - - - Raises the AcceptError event. - - An that contains the event data. - - - - Raises the Sent event. - - An that contains the event data. - - - - Raises the SendError event. - - An that contains the event data. - - - - Raises the Received event. - - A that contains the event data. - - - - Raises the ReceiveError event. - - An that contains the event data. - - - - Raises the Authenticated event. - - An that contains the event data. - - - - Raises the AuthenticateError event. - - An that contains the event data. - - - - Releases the unmanaged resources used by the and optionally - releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets a value indicating whether the socket is connected. - - - - - Gets the remote IP address of the socket connection. - - - - - Gets a stream for reading and writing data. - - - - - Event raised when a connection is accepted by the socket. - - - - - Event raised when an error occurs accepting a connection. - - - - - Event raised when data is sent through the socket. - - - - - Event raised when there is an error sending data. - - - - - Event raised when data is received by the socket. - - - - - Event raised when there is an error receiving data. - - - - - Event raised when authentication is completed over the socket. - - - - - Event raised when there is an error authenticating over the socket. - - - - - Provides arguments for handling events associated with connections to the server. - - - - - Initializes a new instance of the class. - - The representing the - connection to the client. - - - - Gets the connection to the client. - - - - - Gets or sets a value indicating whether to the event was processed. - - - - - Provides arguments for handling the event for receiving a text message. - - - - - Initializes a new instance of the class. - - The text message received. - - - - Gets the text message received. - - - - - Represents a connection to a WebSocket. - - - - - Initializes a new instance of the class. - - The used in the connection. - The scheme used to parse requests. - - - - Sends a text message over the connection. - - The text message to send. - - - - Sends a binary message over the connection. - - The binary message to send. - - - - Sends raw text over the connection, without passing through a handler. - - The message to send. - - - - Closes the connection. - - - - - Starts the connection receiving requests. - - - - - Fires the MessageReceived event. - - A that contains the event data. - - - - Fires the BinaryMessageReceived event. - - A that contains the event data. - - - - Fires the Opened event. - - A that contains the event data. - - - - Fires the Closed event. - - A that contains the event data. - - - - Fires the StandardHttpRequestReceived event. - - A that contains the event data. - - - - Fires the Sent event. - - An that contains the event data. - - - - Fires the ErrorReceived event. - - An that contains the event data. - - - - Gets or sets the implementation used for communication. - - - - - Gets or sets the implementation used for parsing and handling requests. - - - - - Gets an object describing the connection. - - - - - Event raised when a connection is opened. - - - - - Event raised when a connection is closed. - - - - - Event raised when a text message is received via the connection. - - - - - Event raised when a binary message is received via the connection. - - - - - Event raised when a non-WebSocket message is received. - - - - - Event raised when an error occurs via the connection. - - - - - Event raised when data is sent via the connection. - - - - - Provides information about a WebSocket connection. - - - - - Prevents a default instance of the class from being created. - - - - - Creates a for a given request and IP address. - - The to get the connection information for. - The IP address of the client connection. - The created . - - - - Gets the sub-protocol of the connection. - - - - - Gets the origin of the connection. - - - - - Gets the host for the connection. - - - - - Gets the path for the connection. - - - - - Gets the IP address of the client for the connection. - - - - - Gets the collection of cookies for the connection. - - - - - Provides a base exception for WebSocket errors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - The message 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 message for the exception. - The inner exception that is the cause of this exception. - - - - Initializes a new instance of the class with a specified status code. - - The status code of the exception. - - - - Initializes a new instance of the class with a specified status code - and error message. - - The status code of the exception. - The message for the exception. - - - - Initializes a new instance of the class with a specified status code, - error message, and a reference to the inner exception that is the cause of this exception. - - The status code for the exception. - The message for the exception. - The inner exception that is the cause of this exception. - - - - Initializes a new instance of the class with serialized data. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Sets the with information about the exception. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - Gets the status code. - - - - - Defines an HTTP request via the WebSocket protocol. - - - - - Gets or sets the HTTP method of the request. - - - - - Gets or sets the path of the request. - - - - - Gets or sets the body of the request - - - - - Gets or sets the scheme of the request. - - - - - Gets or sets the WebSocket payload of the request. - - - - - Gets the headers for the request. - - - - - Gets or sets the value associated with the specified header. - - The name of the header. - The value of the header, if it exists. If it does not exist, returns an empty string. - - - - Provides an implementation of a WebSocket server. - - - - - Initializes a new instance of the class. - - The location at which to listen for connections. - - - - Initializes a new instance of the class. - - The port on which to listen for connections. - The location at which to listen for connections. - - - - Starts the server. - - - - - Releases all resources used by the . - - - - - Raises the ConnectionOpened event. - - A that contains the event data. - - - - Raises the ConnectionClosed event. - - A that contains the event data. - - - - Raises the StandardHttpRequestReceived event. - - A that contains the event data. - - - - Raises the MessageReceived event. - - A that contains the event data. - - - - Raises the ErrorOccurred event. - - An that contains the event data. - - - - Releases the unmanaged resources used by the and optionally - releases the managed resources. - - - to release managed and resources; - to only release unmanaged resources. - - - - Gets or sets the on which communication occurs. - - - - - Gets the location the server is listening on for connections. - - - - - Gets the port the server is listening on for connections. - - - - - Gets or sets the certificate used for authentication. - - - - - Gets a value indicating whether the connection is secure. - - - - - Event raised when a message is received from the WebSocket. - - - - - Event raised when a connection is opened. - - - - - Event raised when a connection is closed. - - - - - Event raised when an error occurs. - - - - - Event raised when a non-WebSocket message is received. - - - - - Provides status codes for the WebSocket protocol - - - - - Indicates a normal closure status. - - - - - Indicates a notification that the socket is closing. - - - - - Indicates an error in the protocol. - - - - - Indicates an attempt to transmit an unsupported data type. - - - - - Indicates no status information received. - - - - - Represents an abnormal closure of the socket. - - - - - Indicates invalid data in the frame. - - - - - Indicates a policy violation. - - - - - Indicates that the message is too big. - - - - - Indicates a mandatory extension. - - - - - Indicates an internal server error. - - - - - Indicates a TLS handshake. - - - - - Indicates an application error. - - - - - A collection of all of the status codes indicating a valid closing of the connection. - - - - - Provides the base class for handling WebSocket protocol requests. - - - - - Processes data received by the connection. - - The data to be processed. - - - - Creates a handshake message for initiating connections. - - A byte array containing the handshake message. - - - - Creates a frame for text messages in the WebSocket protocol. - - The text of the message. - A byte array containing the message frame. - - - - Creates a frame for binary messages in the WebSocket protocol. - - The binary data of the message. - A byte array containing the message frame. - - - - Creates a frame for close messages in the WebSocket protocol. - - The connection close code of the message. - A byte array containing the message frame. - - - - Receives the data from the protocol. - - - - - Gets the handshake for WebSocket protocol. - - A byte array representing the handshake in the WebSocket protocol. - - - - Prepares a text frame for the given text. - - The text for which to prepare the frame - A byte array representing the frame in the WebSocket protocol. - - - - Prepares a binary frame for the given binary data. - - The binary data for which to prepare the frame. - A byte array representing the frame in the WebSocket protocol. - - - - Prepares a close frame for the given connection. - - The code to use in closing the connection. - A byte array representing the frame in the WebSocket protocol. - - - - Raises the TextMessageHandled event. - - A that contains the event data. - - - - Raises the BinaryMessageHandled event. - - A that contains the event data. - - - - Raises the CloseHandled event. - - An that contains the event data. - - - - Gets the data to be handled by this handler. - - - - - Event raised when a text message is processed by the handler. - - - - - Event raised when a binary message is processed by the handler. - - - - - Event raised when a close message is processed by the handler. - - - - - Provides a request handler for the Hixie76 or Hybi00 version of the WebSocket protocol. - - - - - Initializes a new instance of the class. - - The to handle. - - - - Creates a new instance of the . - - The to handle. - A to perform handling of subsequent requests. - - - - Gets the handshake for WebSocket protocol. - - A byte array representing the handshake in the WebSocket protocol. - - - - Prepares a text frame for the given text. - - The text for which to prepare the frame. - A byte array representing the frame in the WebSocket protocol. - - - - Receives the data from the protocol. - - - - - Provides a handler for the RFC 6455 version of the WebSocket protocol. - - - - - Initializes a new instance of the class. - - The to handle. - - - - Creates a new instance of the handler. - - The request to handle. - A to perform handling of subsequent requests. - - - - Receives data from the protocol. - - - - - Prepares a text frame for the given text. - - The text for which to prepare the frame. - A byte array representing the frame in the WebSocket protocol. - - - - Prepares a close frame for the given connection. - - The code to use in closing the connection. - A byte array representing the frame in the WebSocket protocol. - - - - Gets the handshake for WebSocket protocol. - - A byte array representing the handshake in the WebSocket protocol. - - - - Prepares a binary frame for the given binary data. - - The binary data for which to prepare the frame. - A byte array representing the frame in the WebSocket protocol. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. - - - - - Specifies the state of the reader. - - - - - 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. - - - - - 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. - - - - - 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 . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. - - - - - 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. - - - - - 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 . - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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. - - - - 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. - - - - 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. - - - - 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. - - - - - 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. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from 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 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. - - - - 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 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 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 . - - - - - 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. - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how dates are formatted when writing JSON text. - - - - - 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 formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - 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. - - - - - 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. - - - - Represents a trace writer that writes to the application's instances. - - - - - 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. - - - - 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. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - 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. - - - - 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. - - - - - 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). - - - - 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. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - - 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. - - - - 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 . - - - - 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 . - - - - 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. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - 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. - - - - 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. - - - - 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. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - 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 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. - - - - - 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. - - - - 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. - - - - - Instructs the how to serialize the collection. - - - - - 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. - - - - 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 typesl; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Gets the type of the converter. - - The type of the converter. - - - - 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. - - - - - 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 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 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. - - - - - 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. - - - - Sets an event handler for receiving schema validation errors. - - - - - 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. - - - - 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 how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - 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 XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - - true if the JSON root object is omitted; otherwise, false. - - - - 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). - - - - - 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. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating Json data. - - - - - 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. - - - - - 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. - - - - 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 path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - 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. - - - - 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 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. - - - - Represents a collection of . - - - - - 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 is 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 is 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 is 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 is 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be is 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. - - 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 is 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 is 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 is 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 is used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be is used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be is 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. - - 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 is used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be is used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - . - - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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. - - - - 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 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. - - - - - Occurs when the errors during serialization and deserialization. - - - - - 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 token that can contain other 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. - - - - 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. - - - - - 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 - - - - 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. - - - - - 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. - - - - - 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. - - - - 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. - - - - - 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 with the specified property name. - - - - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Represents a JSON array. - - - - - - - - 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 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. - - - - - 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. - - - - 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. - - - - 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. - - - - - 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. - - - - 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. - - - - 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 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. - - - - 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. - - - - 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 . - - - - - 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. - - - - Used by to resolves a for a given . - - - - - 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. - - - - 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. - - - - - 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. - - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - 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. - - - - Contract details for a used by the . - - - - - 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. - - - - 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. - - - - 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - 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. - - - - 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. - - - - 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. - - - - - 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 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 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. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - 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 - - - - - Represents a method that constructs an object. - - The object type to create. - - - - 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. - - - - - Converts the value to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert the value to. - The converted type. - - - - Converts the value to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert the value to. - The converted value if the conversion was successful or the default value of T if it failed. - - true if initialValue was converted successfully; otherwise, false. - - - - - 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. - - - - - - 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. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly.true if the specified MemberInfo can be read; otherwise, false. - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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. - - - - \ No newline at end of file diff --git a/c-sharp-rest/PetClinic/packages/repositories.config b/c-sharp-rest/PetClinic/packages/repositories.config deleted file mode 100644 index f3c786e..0000000 --- a/c-sharp-rest/PetClinic/packages/repositories.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/c-sharp-rest/SmallModel/README.md b/c-sharp-rest/SmallModel/README.md deleted file mode 100644 index e3dc7f8..0000000 --- a/c-sharp-rest/SmallModel/README.md +++ /dev/null @@ -1,23 +0,0 @@ -This example will run simulated test using GraphWalker started as a REST service. - - * Download [latest GraphWalker standalone jar](http://graphwalker.github.io/content/archive/graphwalker-cli-3.4.2.jar). - * `git clone https://github.com/GraphWalker/graphwalker-example.git` - * `cd c-sharp-rest/SmallModel` - * Start GraphWalker as a restful service: `java -jar graphwalker-cli-3.4.2.jar -d all online -s RESTFUL -m SmallModel.graphml "random(edge_coverage(100))"`. - * Build the SmallModel project.
- On linux: `xbuild ` - * Run the program: - On linux: `mono SmallModel/bin/Debug/SmallModel.exe` - -When run, the SmallModel program will connect to the GraphWalker service. - -It will then query the state machine in the GraphWalker service for steps to execute. The psuedo code would look something like the: -``` - while hasNext() - step = getNext() - "Call method step in C# SmallModel class" - invoke SmallModel.'step' - print getData() -``` - - diff --git a/c-sharp-rest/SmallModel/SmallModel.sln b/c-sharp-rest/SmallModel/SmallModel.sln deleted file mode 100644 index 371c6f7..0000000 --- a/c-sharp-rest/SmallModel/SmallModel.sln +++ /dev/null @@ -1,17 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SmallModel", "SmallModel\SmallModel.csproj", "{DA6DD90E-E6C6-417A-ADB2-BD9351258EC4}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x86 = Debug|x86 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DA6DD90E-E6C6-417A-ADB2-BD9351258EC4}.Debug|x86.ActiveCfg = Debug|x86 - {DA6DD90E-E6C6-417A-ADB2-BD9351258EC4}.Debug|x86.Build.0 = Debug|x86 - {DA6DD90E-E6C6-417A-ADB2-BD9351258EC4}.Release|x86.ActiveCfg = Release|x86 - {DA6DD90E-E6C6-417A-ADB2-BD9351258EC4}.Release|x86.Build.0 = Release|x86 - EndGlobalSection -EndGlobal diff --git a/c-sharp-rest/SmallModel/SmallModel/Program.cs b/c-sharp-rest/SmallModel/SmallModel/Program.cs deleted file mode 100644 index 4d4478b..0000000 --- a/c-sharp-rest/SmallModel/SmallModel/Program.cs +++ /dev/null @@ -1,124 +0,0 @@ -using System; -using RestSharp; -using Newtonsoft.Json.Linq; -using System.Reflection; - -namespace SmallModel -{ - class GraphWalkerRestClient - { - private RestClient client = new RestClient(); - private RestRequest requestHasNext = new RestRequest("hasNext", Method.GET); - private RestRequest requestGetNext = new RestRequest("getNext", Method.GET); - private RestRequest requestGetData = new RestRequest("getData", Method.GET); - private RestRequest requestGetStatistics = new RestRequest("getStatistics", Method.GET); - - public GraphWalkerRestClient() - { - client.BaseUrl = new Uri("http://localhost:8887/graphwalker/"); - requestHasNext.AddHeader("Accept", "text/plain"); - requestGetNext.AddHeader("Accept", "text/plain"); - requestGetData.AddHeader("Accept", "text/plain"); - requestGetStatistics.AddHeader("Accept", "text/plain"); - } - - public bool hasNext() - { - IRestResponse restResponse = client.Execute(requestHasNext); - checkError (restResponse); - - JObject jsonResponse = JObject.Parse (restResponse.Content.ToString ()); - if (!jsonResponse.GetValue ("result").ToString().Equals("ok", StringComparison.CurrentCultureIgnoreCase)) - return false; - - if (!jsonResponse.GetValue ("hasNext").ToString().Equals("true", StringComparison.CurrentCultureIgnoreCase)) - return false; - return true; - } - - public string getNext() - { - IRestResponse restResponse = client.Execute(requestGetNext); - checkError (restResponse); - JObject jsonResponse = JObject.Parse (restResponse.Content.ToString ()); - return (string)jsonResponse.GetValue("currentElementName"); - } - - public string getData() - { - IRestResponse restResponse = client.Execute(requestGetData); - checkError (restResponse); - JObject jsonResponse = JObject.Parse (restResponse.Content.ToString ()); - return jsonResponse.GetValue("data").DeepClone().ToString(); - } - - public string getStatistics() - { - IRestResponse restResponse = client.Execute(requestGetStatistics); - checkError (restResponse); - JObject jsonResponse = JObject.Parse (restResponse.Content.ToString ()); - return jsonResponse.ToString(); - } - - private void checkError(IRestResponse response) - { - if (response.ErrorException != null) - { - const string message = "Error retrieving response. Check inner details for more info."; - throw new Exception(message, response.ErrorException); - } - - int numericStatusCode = (int)response.StatusCode; - if (numericStatusCode != 200) - { - const string message = "Error retrieving response. Check inner details for more info."; - throw new Exception(message, response.ErrorException); - } - - JObject jsonResponse = JObject.Parse (response.Content.ToString ()); - if (!jsonResponse.GetValue ("result").ToString().Equals("ok", StringComparison.CurrentCultureIgnoreCase)) - { - const string message = "getNext failed. Check inner details for more info."; - throw new Exception(message); - } - } - } - - class MainClass - { - public static void Main (string[] args) - { - MainClass program = new MainClass (); - program.run (); - } - - private void run () - { - GraphWalkerRestClient gwRestClient = new GraphWalkerRestClient (); - - Type smallModelType = typeof(SmallModel); - ConstructorInfo ctor = smallModelType.GetConstructor(System.Type.EmptyTypes); - - // As long as we have elemnts from GraphWalkers path generation - // to fetch, we'll continue - while (gwRestClient.hasNext()) - { - - // Get the next element name from GraphWalker. - // The element might either be an edge or a vertex. - string methodName = gwRestClient.getNext(); - - // Invoke a method call on the class SmallModel, using the methodName - object instance = ctor.Invoke(null); - MethodInfo methodInfo = smallModelType.GetMethod(methodName); - methodInfo.Invoke(instance, new object[]{}); - - // If any data, write it to the terminal. - Console.WriteLine (gwRestClient.getData ()); - } - - // Get the statistics from the test - Console.WriteLine (gwRestClient.getStatistics() ); - } - } -} diff --git a/c-sharp-rest/SmallModel/SmallModel/Properties/AssemblyInfo.cs b/c-sharp-rest/SmallModel/SmallModel/Properties/AssemblyInfo.cs deleted file mode 100644 index d1f6092..0000000 --- a/c-sharp-rest/SmallModel/SmallModel/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. - -[assembly: AssemblyTitle ("SmallModel")] -[assembly: AssemblyDescription ("")] -[assembly: AssemblyConfiguration ("")] -[assembly: AssemblyCompany ("")] -[assembly: AssemblyProduct ("")] -[assembly: AssemblyCopyright ("krikar")] -[assembly: AssemblyTrademark ("")] -[assembly: AssemblyCulture ("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion ("1.0.*")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - diff --git a/c-sharp-rest/SmallModel/SmallModel/SmallModel.cs b/c-sharp-rest/SmallModel/SmallModel/SmallModel.cs deleted file mode 100644 index 35e4540..0000000 --- a/c-sharp-rest/SmallModel/SmallModel/SmallModel.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; - -namespace SmallModel -{ - public class SmallModel - { - public void v_VerifySomeAction() - { - Console.WriteLine ("SmallModel.v_VerifySomeAction"); - } - - public void v_VerifySomeOtherAction() - { - Console.WriteLine ("SmallModel.v_VerifySomeOtherAction"); - } - - public void e_FirstAction() - { - Console.WriteLine ("SmallModel.e_FirstAction"); - } - - public void e_AnotherAction() - { - Console.WriteLine ("SmallModel.e_AnotherAction"); - } - - public void e_SomeOtherAction() - { - Console.WriteLine ("SmallModel.e_SomeOtherAction"); - } - } -} - diff --git a/c-sharp-rest/SmallModel/SmallModel/SmallModel.csproj b/c-sharp-rest/SmallModel/SmallModel/SmallModel.csproj deleted file mode 100644 index ca713b3..0000000 --- a/c-sharp-rest/SmallModel/SmallModel/SmallModel.csproj +++ /dev/null @@ -1,50 +0,0 @@ - - - - Debug - x86 - {DA6DD90E-E6C6-417A-ADB2-BD9351258EC4} - Exe - SmallModel - SmallModel - v4.5 - - - true - full - false - bin\Debug - DEBUG; - prompt - 4 - true - x86 - - - full - true - bin\Release - prompt - 4 - true - x86 - - - - - ..\packages\RestSharp.105.2.3\lib\net45\RestSharp.dll - - - ..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll - - - - - - - - - - - - \ No newline at end of file diff --git a/c-sharp-rest/SmallModel/SmallModel/SmallModel.graphml b/c-sharp-rest/SmallModel/SmallModel/SmallModel.graphml deleted file mode 100644 index c2a7cc8..0000000 --- a/c-sharp-rest/SmallModel/SmallModel/SmallModel.graphml +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - v_VerifySomeAction - - - - - - - - - - - - - - - - Start - - - - - - - - - - - - - - - - v_VerifySomeOtherAction - - - - - - - - - - - - - - - - e_FirstAction / x=0; y=0; - - - - - - - - - - - - - - - - - - - e_SomeOtherAction / y+=1; - - - - - - - - - - - - - - - - - - - - e_AnotherAction / y+=1; - - - - - - - - - - - - - - - - - - - - - - e_SomeOtherAction / x+=1; - - - - - - - - - - - - - - - diff --git a/c-sharp-rest/SmallModel/SmallModel/packages.config b/c-sharp-rest/SmallModel/SmallModel/packages.config deleted file mode 100644 index b2d1a3f..0000000 --- a/c-sharp-rest/SmallModel/SmallModel/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg deleted file mode 100644 index aa8cd68..0000000 Binary files a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll deleted file mode 100644 index 3e05fe3..0000000 Binary files a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.xml b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.xml deleted file mode 100644 index 7e85020..0000000 --- a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.xml +++ /dev/null @@ -1,9676 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value 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 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 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. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - 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 to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - 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 . - - - - - 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 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 . - - - - - 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 a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - 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. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - 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. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - 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. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - 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. - - - - - Provides a set of static (Shared in Visual Basic) methods for - querying objects that implement . - - - - - Returns the input typed as . - - - - - Returns an empty that has the - specified type argument. - - - - - Converts the elements of an to the - specified type. - - - - - Filters the elements of an based on a specified type. - - - - - 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. - - - - Generates a sequence that contains one repeated value. - - - - - Filters a sequence of values based on a predicate. - - - - - Filters a sequence of values based on a predicate. - Each element's index is used in the logic of the predicate function. - - - - - Projects each element of a sequence into a new form. - - - - - Projects each element of a sequence into a new form by - incorporating the element's index. - - - - - Projects each element of a sequence to an - and flattens the resulting sequences into one sequence. - - - - - 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. - - - - - 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. - - - - - 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. - - - - - Returns elements from a sequence as long as a specified condition is true. - - - - - 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. - - - - - Base implementation of First operator. - - - - - Returns the first element of a sequence. - - - - - Returns the first element in a sequence that satisfies a specified condition. - - - - - Returns the first element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the first element of the sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Last operator. - - - - - Returns the last element of a sequence. - - - - - Returns the last element of a sequence that satisfies a - specified condition. - - - - - Returns the last element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the last element of a sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Single operator. - - - - - Returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition, and throws an exception if more than one - such element exists. - - - - - 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. - - - - - 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. - - - - - Returns the element at a specified index in a sequence. - - - - - Returns the element at a specified index in a sequence or a - default value if the index is out of range. - - - - - Inverts the order of the elements in a sequence. - - - - - Returns a specified number of contiguous elements from the start - of a sequence. - - - - - Bypasses a specified number of elements in a sequence and then - returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. - - - - - 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. - - - - - Returns the number of elements in a sequence. - - - - - Returns a number that represents how many elements in the - specified sequence satisfy a condition. - - - - - Returns an that represents the total number - of elements in a sequence. - - - - - Returns an that represents how many elements - in a sequence satisfy a condition. - - - - - Concatenates two sequences. - - - - - Creates a from an . - - - - - Creates an array from an . - - - - - Returns distinct elements from a sequence by using the default - equality comparer to compare values. - - - - - Returns distinct elements from a sequence by using a specified - to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and a key comparer. - - - - - Creates a from an - according to specified key - and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer and an element selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function and compares the keys by using a specified - comparer. - - - - - 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. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. - - - - - 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. - - - - - 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. - - - - - 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. - - - - - 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. - - - - - Applies an accumulator function over a sequence. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value. - - - - - 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. - - - - - Produces the set union of two sequences by using the default - equality comparer. - - - - - Produces the set union of two sequences by using a specified - . - - - - - Returns the elements of the specified sequence or the type - parameter's default value in a singleton collection if the - sequence is empty. - - - - - Returns the elements of the specified sequence or the specified - value in a singleton collection if the sequence is empty. - - - - - Determines whether all elements of a sequence satisfy a condition. - - - - - Determines whether a sequence contains any elements. - - - - - Determines whether any element of a sequence satisfies a - condition. - - - - - Determines whether a sequence contains a specified element by - using the default equality comparer. - - - - - Determines whether a sequence contains a specified element by - using a specified . - - - - - Determines whether two sequences are equal by comparing the - elements by using the default equality comparer for their type. - - - - - Determines whether two sequences are equal by comparing their - elements by using a specified . - - - - - Base implementation for Min/Max operator. - - - - - Base implementation for Min/Max operator for nullable types. - - - - - Returns the minimum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the minimum resulting value. - - - - - Returns the maximum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the maximum resulting value. - - - - - Makes an enumerator seen as enumerable once more. - - - 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. - - - - - Sorts the elements of a sequence in ascending order by using a - specified comparer. - - - - - Sorts the elements of a sequence in descending order according to a key. - - - - - Sorts the elements of a sequence in descending order by using a - specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order by using a specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order, according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order by using a specified comparer. - - - - - Base implementation for Intersect and Except operators. - - - - - Produces the set intersection of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set intersection of two sequences by using the - specified to compare values. - - - - - Produces the set difference of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set difference of two sequences by using the - specified to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and key comparer. - - - - - Creates a from an - according to specified key - selector and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer, and an element selector function. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. - - - - - 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. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. - - - - - 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. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Represents a collection of objects that have a common key. - - - - - Gets the key of the . - - - - - Defines an indexer, size property, and Boolean search method for - data structures that map keys to - sequences of values. - - - - - Represents a sorted sequence. - - - - - Performs a subsequent ordering on the elements of an - according to a key. - - - - - Represents a collection of keys each mapped to one or more values. - - - - - Gets the number of key/value collection pairs in the . - - - - - Gets the collection of values indexed by the specified key. - - - - - Determines whether a specified key is in the . - - - - - Applies a transform function to each key and its associated - values and returns the results. - - - - - Returns a generic enumerator that iterates through the . - - - - - 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. - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - 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. - - - - - 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 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Represents a collection of . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - 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. - - 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 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. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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 exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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 writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - 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. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Specifies the 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 writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - 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. - - - - - 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. - - - - diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll deleted file mode 100644 index f2666d5..0000000 Binary files a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.xml b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.xml deleted file mode 100644 index e5abc9c..0000000 --- a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.xml +++ /dev/null @@ -1,8805 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - 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. - - - - 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. - - - - - 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. - - - - - 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 an Entity Framework EntityKey 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. - - - - - 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 a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - 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. - - - - - 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 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 . - - - - - 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 a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - 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. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - 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. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - 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. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - 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. - - - - - 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 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Represents a collection of . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - 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 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. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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 writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - 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. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Specifies the 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 writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - 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/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll deleted file mode 100644 index e523dc3..0000000 Binary files a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.xml b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.xml deleted file mode 100644 index 0c7c38d..0000000 --- a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.xml +++ /dev/null @@ -1,9112 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - 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. - - - - 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. - - - - - 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. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from 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 a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - 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. - - - - - 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 . - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how dates are formatted when writing JSON text. - - - - - 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 formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - 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 to always serialize the member, and require the member has a value. - - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - 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. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - 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. - - - - - 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 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Represents a collection of . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - 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 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - 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. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - 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. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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 writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - 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. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Specifies the 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 writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - 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/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll deleted file mode 100644 index b7ef414..0000000 Binary files a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.xml b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.xml deleted file mode 100644 index 22ef1cb..0000000 --- a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.xml +++ /dev/null @@ -1,9112 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - 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 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. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - 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 EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - 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 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 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 a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - 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. - - - - - 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 common language runtime 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 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - 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. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - 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. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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 writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object 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. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - 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. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index 9973ce9..0000000 Binary files a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml deleted file mode 100644 index f841a5f..0000000 --- a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml +++ /dev/null @@ -1,8290 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - 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. - - - - - 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). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - 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 . - - - - - 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 a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - 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. - - - - - 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 common language runtime 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 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. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or 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. - - - - - 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 the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - 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 . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a 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. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object 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. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - 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{TSource}. - - 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. - - - - - 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. - - - - diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll deleted file mode 100644 index 1e62440..0000000 Binary files a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.xml b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.xml deleted file mode 100644 index 8d9e91c..0000000 --- a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.xml +++ /dev/null @@ -1,8637 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - 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. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - 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 . - - - - - 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 a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - 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. - - - - - 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 the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 common language runtime 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 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - 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. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - 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. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or 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. - - - - - 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 the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - 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 formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - 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. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 . - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the 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 containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - 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 an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a 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. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - 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. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets 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. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - 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. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object 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. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - 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{TSource}. - - 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. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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. - - - - - 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. - - - - diff --git a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/tools/install.ps1 b/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/tools/install.ps1 deleted file mode 100644 index 209101a..0000000 --- a/c-sharp-rest/SmallModel/packages/Newtonsoft.Json.8.0.3/tools/install.ps1 +++ /dev/null @@ -1,116 +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://www.newtonsoft.com/json/install?version=" + $package.Version - $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 -{ - try - { - $pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager") - - $selection = $pmPane.TextDocument.Selection - $selection.StartOfDocument($false) - $selection.EndOfDocument($true) - - if ($selection.Text.StartsWith("Attempting to gather dependencies information for package 'Newtonsoft.Json." + $package.Version + "'")) - { - # don't show on upgrade - if (!$selection.Text.Contains("Removed package")) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } - catch - { - # stop potential errors from bubbling up - # worst case the splash page won't open - } -} - -# still yolo \ No newline at end of file diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg deleted file mode 100644 index af89bda..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.dll deleted file mode 100644 index 9f15b1b..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml deleted file mode 100644 index be61c15..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml +++ /dev/null @@ -1,3020 +0,0 @@ - - - - RestSharp - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Deserialized entity data - - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.dll deleted file mode 100644 index aff63af..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml deleted file mode 100644 index be61c15..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml +++ /dev/null @@ -1,3020 +0,0 @@ - - - - RestSharp - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Deserialized entity data - - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.dll deleted file mode 100644 index 5c24dc2..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml deleted file mode 100644 index be61c15..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml +++ /dev/null @@ -1,3020 +0,0 @@ - - - - RestSharp - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Deserialized entity data - - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net35/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net35/RestSharp.dll deleted file mode 100644 index 0b0001b..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net35/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml deleted file mode 100644 index 0100e02..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml +++ /dev/null @@ -1,2858 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - HttpWebRequest wrapper (sync methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (async methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.dll deleted file mode 100644 index b48af87..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4/RestSharp.dll deleted file mode 100644 index b48af87..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net45/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net45/RestSharp.dll deleted file mode 100644 index 533b3cc..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net45/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net451/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net451/RestSharp.dll deleted file mode 100644 index d8414d1..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net451/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net452/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net452/RestSharp.dll deleted file mode 100644 index 31e4704..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net452/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net46/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net46/RestSharp.dll deleted file mode 100644 index 8af7bc1..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net46/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml deleted file mode 100644 index c884126..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml +++ /dev/null @@ -1,3095 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user - - - - - Authenticate with the credentials of the currently logged in user - - - - - Authenticate by impersonation - - - - - - - Authenticate by impersonation, using an existing ICredentials instance - - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Decodes an HTML-encoded string and returns the decoded string. - - The HTML string to decode. - The decoded text. - - - - Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. - - The HTML string to decode - The TextWriter output stream containing the decoded string. - - - - HTML-encodes a string and sends the resulting output to a TextWriter output stream. - - The string to encode. - The TextWriter output stream containing the encoded string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - HttpWebRequest wrapper (sync methods) - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - Execute a POST request - - - - - Execute a PUT request - - - - - Execute a GET request - - - - - Execute a HEAD request - - - - - Execute an OPTIONS request - - - - - Execute a DELETE request - - - - - Execute a PATCH request - - - - - Execute a MERGE request - - - - - Execute a GET-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - Execute a POST-style request with the specified HTTP Method. - - The HTTP method to execute. - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - X509CertificateCollection to be sent with request - - - - - Maximum number of automatic redirects to follow if FollowRedirects is true - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Proxy info to be sent with request - - - - - Caching policy for requests created with this wrapper. - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - X509CertificateCollection to be sent with request - - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Executes the specified request and downloads the response data - - Request to execute - Response data - - - - Executes the request and returns a response, authenticating if needed - - Request to be executed - RestResponse - - - - Executes the specified request and deserializes the response content using the appropriate content handler - - Target deserialization type - Request to execute - RestResponse[[T]] with deserialized data in Data property - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - X509CertificateCollection to be sent with request - - - - - Proxy to use for requests made by this client instance. - Passed on to underlying WebRequest if set. - - - - - The cache policy to use for requests initiated by this client instance. - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. - - Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. - The result of the type conversion operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. - - Provides information about the deletion. - - Alwasy returns true. - - - - - Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. - The result of the index operation. - - Alwasy returns true. - - - - - Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The result of the get operation. For example, if the method is called for a property, you can assign the property value to . - - Alwasy returns true. - - - - - Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. - - Provides information about the operation. - The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. - The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. - - - - - Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. - - Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. - The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". - - true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) - - - - - Returns the enumeration of all dynamic member names. - - - A sequence that contains dynamic member names. - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/sl5/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/sl5/RestSharp.dll deleted file mode 100644 index 9b07a2d..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/sl5/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml deleted file mode 100644 index ced35dd..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml +++ /dev/null @@ -1,2649 +0,0 @@ - - - - RestSharp - - - - - JSON WEB TOKEN (JWT) Authenticator class. - https://tools.ietf.org/html/draft-ietf-oauth-json-web-token - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Save a byte array to a file - - Bytes to save - Full path to save file to - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.dll deleted file mode 100644 index e7289c2..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml deleted file mode 100644 index f851bd3..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml +++ /dev/null @@ -1,3866 +0,0 @@ - - - - RestSharp - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial - used by Zip. This type is used internally by DotNetZip; it is generally not used - directly by applications wishing to create, read, or manipulate zip archive - files. - - - - - Returns the CRC32 for the specified stream. - - The stream over which to calculate the CRC32 - the CRC32 calculation - - - - Returns the CRC32 for the specified stream, and writes the input into the - output stream. - - The stream over which to calculate the CRC32 - The stream into which to deflate the input - the CRC32 calculation - - - - Get the CRC32 for the given (word,byte) combo. This is a computation - defined by PKzip. - - The word to start with. - The byte to combine it with. - The CRC-ized result. - - - - Update the value for the running CRC32 using the given block of bytes. - This is useful when using the CRC32() class in a Stream. - - block of bytes to slurp - starting point in the block - how many bytes within the block to slurp - - - - indicates the total number of bytes read on the CRC stream. - This is used when writing the ZipDirEntry when compressing files. - - - - - Indicates the current CRC for all blocks slurped in. - - - - - A Stream that calculates a CRC32 (a checksum) on all bytes read, - or on all bytes written. - - - - - This class can be used to verify the CRC of a ZipEntry when - reading from a stream, or to calculate a CRC when writing to a - stream. The stream should be used to either read, or write, but - not both. If you intermix reads and writes, the results are not - defined. - - - - This class is intended primarily for use internally by the - DotNetZip library. - - - - - - The default constructor. - - - Instances returned from this constructor will leave the underlying stream - open upon Close(). - - The underlying stream - - - - The constructor allows the caller to specify how to handle the underlying - stream at close. - - The underlying stream - true to leave the underlying stream - open upon close of the CrcCalculatorStream.; false otherwise. - - - - A constructor allowing the specification of the length of the stream to read. - - - Instances returned from this constructor will leave the underlying stream open - upon Close(). - - The underlying stream - The length of the stream to slurp - - - - A constructor allowing the specification of the length of the stream to - read, as well as whether to keep the underlying stream open upon Close(). - - The underlying stream - The length of the stream to slurp - true to leave the underlying stream - open upon close of the CrcCalculatorStream.; false otherwise. - - - - Read from the stream - - the buffer to read - the offset at which to start - the number of bytes to read - the number of bytes actually read - - - - Write to the stream. - - the buffer from which to write - the offset at which to start writing - the number of bytes to write - - - - Flush the stream. - - - - - Not implemented. - - N/A - N/A - N/A - - - - Not implemented. - - N/A - - - - Closes the stream. - - - - - Gets the total number of bytes run through the CRC32 calculator. - - - - This is either the total number of bytes read, or the total number of bytes - written, depending on the direction of this stream. - - - - - Provides the current CRC for all blocks slurped in. - - - - - Indicates whether the underlying stream will be left open when the - CrcCalculatorStream is Closed. - - - - - Indicates whether the stream supports reading. - - - - - Indicates whether the stream supports seeking. - - - - - Indicates whether the stream supports writing. - - - - - Not implemented. - - - - - Not implemented. - - - - - Describes how to flush the current deflate operation. - - - The different FlushType values are useful when using a Deflate in a streaming application. - - - - No flush at all. - - - Closes the current block, but doesn't flush it to - the output. Used internally only in hypothetical - scenarios. This was supposed to be removed by Zlib, but it is - still in use in some edge cases. - - - - - Use this during compression to specify that all pending output should be - flushed to the output buffer and the output should be aligned on a byte - boundary. You might use this in a streaming communication scenario, so that - the decompressor can get all input data available so far. When using this - with a ZlibCodec, AvailableBytesIn will be zero after the call if - enough output space has been provided before the call. Flushing will - degrade compression and so it should be used only when necessary. - - - - - Use this during compression to specify that all output should be flushed, as - with FlushType.Sync, but also, the compression state should be reset - so that decompression can restart from this point if previous compressed - data has been damaged or if random access is desired. Using - FlushType.Full too often can significantly degrade the compression. - - - - Signals the end of the compression/decompression stream. - - - - A class for compressing and decompressing GZIP streams. - - - - - The GZipStream is a Decorator on a . It adds GZIP compression or decompression to any stream. - - - Like the Compression.GZipStream in the .NET Base - Class Library, the Ionic.Zlib.GZipStream can compress while writing, or decompress - while reading, but not vice versa. The compression method used is GZIP, which is - documented in IETF RFC 1952, - "GZIP file format specification version 4.3". - - A GZipStream can be used to decompress data (through Read()) or to compress - data (through Write()), but not both. - - If you wish to use the GZipStream to compress data, you must wrap it around a - write-able stream. As you call Write() on the GZipStream, the data will be - compressed into the GZIP format. If you want to decompress data, you must wrap the - GZipStream around a readable stream that contains an IETF RFC 1952-compliant stream. - The data will be decompressed as you call Read() on the GZipStream. - - Though the GZIP format allows data from multiple files to be concatenated - together, this stream handles only a single segment of GZIP format, typically - representing a single file. - - - This class is similar to and . - ZlibStream handles RFC1950-compliant streams. - handles RFC1951-compliant streams. This class handles RFC1952-compliant streams. - - - - - - - - - - Create a GZipStream using the specified CompressionMode and the specified CompressionLevel, - and explicitly specify whether the stream should be left open after Deflation or Inflation. - - - - This constructor allows the application to request that the captive stream remain open after - the deflation or inflation occurs. By default, after Close() is called on the stream, the - captive stream is also closed. In some cases this is not desired, for example if the stream - is a memory stream that will be re-read after compressed data has been written to it. Specify true for the - leaveOpen parameter to leave the stream open. - - - As noted in the class documentation, - the CompressionMode (Compress or Decompress) also establishes the "direction" of the stream. - A GZipStream with CompressionMode.Compress works only through Write(). A GZipStream with - CompressionMode.Decompress works only through Read(). - - - - This example shows how to use a DeflateStream to compress data. - - using (System.IO.Stream input = System.IO.File.OpenRead(fileToCompress)) - { - using (var raw = System.IO.File.Create(outputFile)) - { - using (Stream compressor = new GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, true)) - { - byte[] buffer = new byte[WORKING_BUFFER_SIZE]; - int n; - while ((n= input.Read(buffer, 0, buffer.Length)) != 0) - { - compressor.Write(buffer, 0, n); - } - } - } - } - - - Dim outputFile As String = (fileToCompress & ".compressed") - Using input As Stream = File.OpenRead(fileToCompress) - Using raw As FileStream = File.Create(outputFile) - Using compressor As Stream = New GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, True) - Dim buffer As Byte() = New Byte(4096) {} - Dim n As Integer = -1 - Do While (n <> 0) - If (n > 0) Then - compressor.Write(buffer, 0, n) - End If - n = input.Read(buffer, 0, buffer.Length) - Loop - End Using - End Using - End Using - - - The stream which will be read or written. - Indicates whether the GZipStream will compress or decompress. - true if the application would like the stream to remain open after inflation/deflation. - A tuning knob to trade speed for effectiveness. - - - - Dispose the stream. - - - This may or may not result in a Close() call on the captive stream. - See the ctor's with leaveOpen parameters for more information. - - - - - Flush the stream. - - - - - Read and decompress data from the source stream. - - - With a GZipStream, decompression is done through reading. - - - - byte[] working = new byte[WORKING_BUFFER_SIZE]; - using (System.IO.Stream input = System.IO.File.OpenRead(_CompressedFile)) - { - using (Stream decompressor= new Ionic.Zlib.GZipStream(input, CompressionMode.Decompress, true)) - { - using (var output = System.IO.File.Create(_DecompressedFile)) - { - int n; - while ((n= decompressor.Read(working, 0, working.Length)) !=0) - { - output.Write(working, 0, n); - } - } - } - } - - - The buffer into which the decompressed data should be placed. - the offset within that data array to put the first byte read. - the number of bytes to read. - the number of bytes actually read - - - - Calling this method always throws a . - - irrelevant; it will always throw! - irrelevant; it will always throw! - irrelevant! - - - - Calling this method always throws a NotImplementedException. - - irrelevant; this method will always throw! - - - - The Comment on the GZIP stream. - - - - The GZIP format allows for each file to optionally have an associated comment stored with the - file. The comment is encoded with the ISO-8859-1 code page. To include a comment in - a GZIP stream you create, set this property before calling Write() for the first time - on the GZipStream. - - - - When using GZipStream to decompress, you can retrieve this property after the first - call to Read(). If no comment has been set in the GZIP bytestream, the Comment - property will return null (Nothing in VB). - - - - - - The FileName for the GZIP stream. - - - - The GZIP format optionally allows each file to have an associated filename. When - compressing data (through Write()), set this FileName before calling Write() the first - time on the GZipStream. The actual filename is encoded into the GZIP bytestream with - the ISO-8859-1 code page, according to RFC 1952. It is the application's responsibility to - insure that the FileName can be encoded and decoded correctly with this code page. - - - When decompressing (through Read()), you can retrieve this value any time after the - first Read(). In the case where there was no filename encoded into the GZIP - bytestream, the property will return null (Nothing in VB). - - - - - - The CRC on the GZIP stream. - - - This is used for internal error checking. You probably don't need to look at this property. - - - - - This property sets the flush behavior on the stream. - - - - - The size of the working buffer for the compression codec. - - - - - The working buffer is used for all stream operations. The default size is 1024 bytes. - The minimum size is 128 bytes. You may get better performance with a larger buffer. - Then again, you might not. You would have to test it. - - - - Set this before the first call to Read() or Write() on the stream. If you try to set it - afterwards, it will throw. - - - - - Returns the total number of bytes input so far. - - - Returns the total number of bytes output so far. - - - - Indicates whether the stream can be read. - - - The return value depends on whether the captive stream supports reading. - - - - - Indicates whether the stream supports Seek operations. - - - Always returns false. - - - - - Indicates whether the stream can be written. - - - The return value depends on whether the captive stream supports writing. - - - - - Reading this property always throws a NotImplementedException. - - - - - The position of the stream pointer. - - - Writing this property always throws a NotImplementedException. Reading will - return the total bytes written out, if used in writing, or the total bytes - read in, if used in reading. The count may refer to compressed bytes or - uncompressed bytes, depending on how you've used the stream. - - - - - A general purpose exception class for exceptions in the Zlib library. - - - - - The ZlibException class captures exception information generated - by the Zlib library. - - - - - This ctor collects a message attached to the exception. - - - - - - Performs an unsigned bitwise right shift with the specified number - - Number to operate on - Ammount of bits to shift - The resulting number from the shift operation - - - - Performs an unsigned bitwise right shift with the specified number - - Number to operate on - Ammount of bits to shift - The resulting number from the shift operation - - - Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index. - The source TextReader to read from - Contains the array of characteres read from the source TextReader. - The starting index of the target array. - The maximum number of characters to read from the source TextReader. - The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached. - - - - Computes an Adler-32 checksum. - - - The Adler checksum is similar to a CRC checksum, but faster to compute, though less - reliable. It is used in producing RFC1950 compressed streams. The Adler checksum - is a required part of the "ZLIB" standard. Applications will almost never need to - use this class directly. - - - - - Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951). - - - - This class compresses and decompresses data according to the Deflate algorithm - and optionally, the ZLIB format, as documented in RFC 1950 - ZLIB and RFC 1951 - DEFLATE. - - - - - The buffer from which data is taken. - - - - - An index into the InputBuffer array, indicating where to start reading. - - - - - The number of bytes available in the InputBuffer, starting at NextIn. - - - Generally you should set this to InputBuffer.Length before the first Inflate() or Deflate() call. - The class will update this number as calls to Inflate/Deflate are made. - - - - - Total number of bytes read so far, through all calls to Inflate()/Deflate(). - - - - - Buffer to store output data. - - - - - An index into the OutputBuffer array, indicating where to start writing. - - - - - The number of bytes available in the OutputBuffer, starting at NextOut. - - - Generally you should set this to OutputBuffer.Length before the first Inflate() or Deflate() call. - The class will update this number as calls to Inflate/Deflate are made. - - - - - Total number of bytes written to the output so far, through all calls to Inflate()/Deflate(). - - - - - used for diagnostics, when something goes wrong! - - - - - The number of Window Bits to use. - - - This gauges the size of the sliding window, and hence the - compression effectiveness as well as memory consumption. It's best to just leave this - setting alone if you don't know what it is. The maximum value is 15 bits, which implies - a 32k window. - - - - - Create a ZlibCodec that decompresses. - - - - - Initialize the inflation state. - - - It is not necessary to call this before using the ZlibCodec to inflate data; - It is implicitly called when you call the constructor. - - Z_OK if everything goes well. - - - - Initialize the inflation state with an explicit flag to - govern the handling of RFC1950 header bytes. - - - - By default, the ZLIB header defined in RFC 1950 is expected. If - you want to read a zlib stream you should specify true for - expectRfc1950Header. If you have a deflate stream, you will want to specify - false. It is only necessary to invoke this initializer explicitly if you - want to specify false. - - - whether to expect an RFC1950 header byte - pair when reading the stream of data to be inflated. - - Z_OK if everything goes well. - - - - Initialize the ZlibCodec for inflation, with the specified number of window bits. - - The number of window bits to use. If you need to ask what that is, - then you shouldn't be calling this initializer. - Z_OK if all goes well. - - - - Initialize the inflation state with an explicit flag to govern the handling of - RFC1950 header bytes. - - - - If you want to read a zlib stream you should specify true for - expectRfc1950Header. In this case, the library will expect to find a ZLIB - header, as defined in RFC - 1950, in the compressed stream. If you will be reading a DEFLATE or - GZIP stream, which does not have such a header, you will want to specify - false. - - - whether to expect an RFC1950 header byte pair when reading - the stream of data to be inflated. - The number of window bits to use. If you need to ask what that is, - then you shouldn't be calling this initializer. - Z_OK if everything goes well. - - - - Inflate the data in the InputBuffer, placing the result in the OutputBuffer. - - - You must have set InputBuffer and OutputBuffer, NextIn and NextOut, and AvailableBytesIn and - AvailableBytesOut before calling this method. - - - - private void InflateBuffer() - { - int bufferSize = 1024; - byte[] buffer = new byte[bufferSize]; - ZlibCodec decompressor = new ZlibCodec(); - - Console.WriteLine("\n============================================"); - Console.WriteLine("Size of Buffer to Inflate: {0} bytes.", CompressedBytes.Length); - MemoryStream ms = new MemoryStream(DecompressedBytes); - - int rc = decompressor.InitializeInflate(); - - decompressor.InputBuffer = CompressedBytes; - decompressor.NextIn = 0; - decompressor.AvailableBytesIn = CompressedBytes.Length; - - decompressor.OutputBuffer = buffer; - - // pass 1: inflate - do - { - decompressor.NextOut = 0; - decompressor.AvailableBytesOut = buffer.Length; - rc = decompressor.Inflate(ZlibConstants.Z_NO_FLUSH); - - if (rc != ZlibConstants.Z_OK && rc != ZlibConstants.Z_STREAM_END) - throw new Exception("inflating: " + decompressor.Message); - - ms.Write(decompressor.OutputBuffer, 0, buffer.Length - decompressor.AvailableBytesOut); - } - while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); - - // pass 2: finish and flush - do - { - decompressor.NextOut = 0; - decompressor.AvailableBytesOut = buffer.Length; - rc = decompressor.Inflate(ZlibConstants.Z_FINISH); - - if (rc != ZlibConstants.Z_STREAM_END && rc != ZlibConstants.Z_OK) - throw new Exception("inflating: " + decompressor.Message); - - if (buffer.Length - decompressor.AvailableBytesOut > 0) - ms.Write(buffer, 0, buffer.Length - decompressor.AvailableBytesOut); - } - while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); - - decompressor.EndInflate(); - } - - - - The flush to use when inflating. - Z_OK if everything goes well. - - - - Ends an inflation session. - - - Call this after successively calling Inflate(). This will cause all buffers to be flushed. - After calling this you cannot call Inflate() without a intervening call to one of the - InitializeInflate() overloads. - - Z_OK if everything goes well. - - - - I don't know what this does! - - Z_OK if everything goes well. - - - - Set the dictionary to be used for either Inflation or Deflation. - - The dictionary bytes to use. - Z_OK if all goes well. - - - - The Adler32 checksum on the data transferred through the codec so far. You probably don't need to look at this. - - - - - A bunch of constants used in the Zlib interface. - - - - - The maximum number of window bits for the Deflate algorithm. - - - - - The default number of window bits for the Deflate algorithm. - - - - - indicates everything is A-OK - - - - - Indicates that the last operation reached the end of the stream. - - - - - The operation ended in need of a dictionary. - - - - - There was an error with the stream - not enough data, not open and readable, etc. - - - - - There was an error with the data - not enough data, bad data, etc. - - - - - There was an error with the working buffer. - - - - - The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes. - - - - - The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes. - - - - - Represents a Zlib stream for compression or decompression. - - - - - The ZlibStream is a Decorator on a . It adds ZLIB compression or decompression to any - stream. - - - Using this stream, applications can compress or decompress data via - stream Read and Write operations. Either compresssion or - decompression can occur through either reading or writing. The compression - format used is ZLIB, which is documented in IETF RFC 1950, "ZLIB Compressed - Data Format Specification version 3.3". This implementation of ZLIB always uses - DEFLATE as the compression method. (see IETF RFC 1951, "DEFLATE - Compressed Data Format Specification version 1.3.") - - - The ZLIB format allows for varying compression methods, window sizes, and dictionaries. - This implementation always uses the DEFLATE compression method, a preset dictionary, - and 15 window bits by default. - - - - This class is similar to , except that it adds the - RFC1950 header and trailer bytes to a compressed stream when compressing, or expects - the RFC1950 header and trailer bytes when decompressing. It is also similar to the - . - - - - - - - - Dispose the stream. - - - This may or may not result in a Close() call on the captive stream. - See the constructors that have a leaveOpen parameter for more information. - - - - - Flush the stream. - - - - - Read data from the stream. - - - - - - If you wish to use the ZlibStream to compress data while reading, you can create a - ZlibStream with CompressionMode.Compress, providing an uncompressed data stream. Then - call Read() on that ZlibStream, and the data read will be compressed. If you wish to - use the ZlibStream to decompress data while reading, you can create a ZlibStream with - CompressionMode.Decompress, providing a readable compressed data stream. Then call - Read() on that ZlibStream, and the data will be decompressed as it is read. - - - - A ZlibStream can be used for Read() or Write(), but not both. - - - The buffer into which the read data should be placed. - the offset within that data array to put the first byte read. - the number of bytes to read. - - - - Calling this method always throws a NotImplementedException. - - - - - Calling this method always throws a NotImplementedException. - - - - - Write data to the stream. - - - - - - If you wish to use the ZlibStream to compress data while writing, you can create a - ZlibStream with CompressionMode.Compress, and a writable output stream. Then call - Write() on that ZlibStream, providing uncompressed data as input. The data sent to - the output stream will be the compressed form of the data written. If you wish to use - the ZlibStream to decompress data while writing, you can create a ZlibStream with - CompressionMode.Decompress, and a writable output stream. Then call Write() on that - stream, providing previously compressed data. The data sent to the output stream will - be the decompressed form of the data written. - - - - A ZlibStream can be used for Read() or Write(), but not both. - - - The buffer holding data to write to the stream. - the offset within that data array to find the first byte to write. - the number of bytes to write. - - - - Uncompress a byte array into a single string. - - - - A buffer containing ZLIB-compressed data. - - - - - Uncompress a byte array into a byte array. - - - - - A buffer containing ZLIB-compressed data. - - - - - This property sets the flush behavior on the stream. - Sorry, though, not sure exactly how to describe all the various settings. - - - - - The size of the working buffer for the compression codec. - - - - - The working buffer is used for all stream operations. The default size is 1024 bytes. - The minimum size is 128 bytes. You may get better performance with a larger buffer. - Then again, you might not. You would have to test it. - - - - Set this before the first call to Read() or Write() on the stream. If you try to set it - afterwards, it will throw. - - - - - Returns the total number of bytes input so far. - - - Returns the total number of bytes output so far. - - - - Indicates whether the stream can be read. - - - The return value depends on whether the captive stream supports reading. - - - - - Indicates whether the stream supports Seek operations. - - - Always returns false. - - - - - Indicates whether the stream can be written. - - - The return value depends on whether the captive stream supports writing. - - - - - Reading this property always throws a NotImplementedException. - - - - - The position of the stream pointer. - - - Writing this property always throws a NotImplementedException. Reading will - return the total bytes written out, if used in writing, or the total bytes - read in, if used in reading. The count may refer to compressed bytes or - uncompressed bytes, depending on how you've used the stream. - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.dll b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.dll deleted file mode 100644 index 66e7980..0000000 Binary files a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.dll and /dev/null differ diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml deleted file mode 100644 index f851bd3..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml +++ /dev/null @@ -1,3866 +0,0 @@ - - - - RestSharp - - - - - - - - Base class for OAuth 2 Authenticators. - - - Since there are many ways to authenticate in OAuth2, - this is used as a base class to differentiate between - other authenticators. - - Any other OAuth2 authenticators must derive from this - abstract class. - - - - - Access token to be used when authenticating. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Gets the access token. - - - - - The OAuth 2 authenticator using URI query parameter. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 - - - - - Initializes a new instance of the class. - - - The access token. - - - - - The OAuth 2 authenticator using the authorization request header field. - - - Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 - - - - - Stores the Authorization header value as "[tokenType] accessToken". used for performance. - - - - - Initializes a new instance of the class. - - - The access token. - - - - - Initializes a new instance of the class. - - - The access token. - - - The token type. - - - - - All text parameters are UTF-8 encoded (per section 5.1). - - - - - - Generates a random 16-byte lowercase alphanumeric string. - - - - - - - Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" - - - - - - - Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" - - - A specified point in time. - - - - - The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - The value to escape. - The escaped value. - - The method is supposed to take on - RFC 3986 behavior if certain elements are present in a .config file. Even if this - actually worked (which in my experiments it doesn't), we can't rely on every - host actually having this configuration element present. - - - - - - - URL encodes a string based on section 5.1 of the OAuth spec. - Namely, percent encoding with [RFC3986], avoiding unreserved characters, - upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. - - - - - - - Sorts a collection of key-value pairs by name, and then value if equal, - concatenating them into a single string. This string should be encoded - prior to, or after normalization is run. - - - - - - - - Sorts a by name, and then value if equal. - - A collection of parameters to sort - A sorted parameter collection - - - - Creates a request URL suitable for making OAuth requests. - Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. - Resulting URLs must be lower case. - - - The original request URL - - - - - Creates a request elements concatentation value to send with a request. - This is also known as the signature base. - - - - The request's HTTP method type - The request URL - The request's parameters - A signature base string - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret. - This method is used when the token secret is currently unknown. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer key - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The signature base - The consumer secret - The token secret - - - - - Creates a signature value given a signature base and the consumer secret and a known token secret. - - - The hashing method - The treatment to use on a signature value - The signature base - The consumer secret - The token secret - - - - - A class to encapsulate OAuth authentication flow. - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - - - - - - Generates a instance to pass to an - for the purpose of requesting an - unauthorized request token. - - The HTTP method for the intended request - Any existing, non-OAuth query parameters desired in the request - - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - - - - Generates a instance to pass to an - for the purpose of exchanging a request token - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - Generates a instance to pass to an - for the purpose of exchanging user credentials - for an access token authorized by the user at the Service Provider site. - - The HTTP method for the intended request - - Any existing, non-OAuth query parameters desired in the request - - - - - - - - - - - - - Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial - used by Zip. This type is used internally by DotNetZip; it is generally not used - directly by applications wishing to create, read, or manipulate zip archive - files. - - - - - Returns the CRC32 for the specified stream. - - The stream over which to calculate the CRC32 - the CRC32 calculation - - - - Returns the CRC32 for the specified stream, and writes the input into the - output stream. - - The stream over which to calculate the CRC32 - The stream into which to deflate the input - the CRC32 calculation - - - - Get the CRC32 for the given (word,byte) combo. This is a computation - defined by PKzip. - - The word to start with. - The byte to combine it with. - The CRC-ized result. - - - - Update the value for the running CRC32 using the given block of bytes. - This is useful when using the CRC32() class in a Stream. - - block of bytes to slurp - starting point in the block - how many bytes within the block to slurp - - - - indicates the total number of bytes read on the CRC stream. - This is used when writing the ZipDirEntry when compressing files. - - - - - Indicates the current CRC for all blocks slurped in. - - - - - A Stream that calculates a CRC32 (a checksum) on all bytes read, - or on all bytes written. - - - - - This class can be used to verify the CRC of a ZipEntry when - reading from a stream, or to calculate a CRC when writing to a - stream. The stream should be used to either read, or write, but - not both. If you intermix reads and writes, the results are not - defined. - - - - This class is intended primarily for use internally by the - DotNetZip library. - - - - - - The default constructor. - - - Instances returned from this constructor will leave the underlying stream - open upon Close(). - - The underlying stream - - - - The constructor allows the caller to specify how to handle the underlying - stream at close. - - The underlying stream - true to leave the underlying stream - open upon close of the CrcCalculatorStream.; false otherwise. - - - - A constructor allowing the specification of the length of the stream to read. - - - Instances returned from this constructor will leave the underlying stream open - upon Close(). - - The underlying stream - The length of the stream to slurp - - - - A constructor allowing the specification of the length of the stream to - read, as well as whether to keep the underlying stream open upon Close(). - - The underlying stream - The length of the stream to slurp - true to leave the underlying stream - open upon close of the CrcCalculatorStream.; false otherwise. - - - - Read from the stream - - the buffer to read - the offset at which to start - the number of bytes to read - the number of bytes actually read - - - - Write to the stream. - - the buffer from which to write - the offset at which to start writing - the number of bytes to write - - - - Flush the stream. - - - - - Not implemented. - - N/A - N/A - N/A - - - - Not implemented. - - N/A - - - - Closes the stream. - - - - - Gets the total number of bytes run through the CRC32 calculator. - - - - This is either the total number of bytes read, or the total number of bytes - written, depending on the direction of this stream. - - - - - Provides the current CRC for all blocks slurped in. - - - - - Indicates whether the underlying stream will be left open when the - CrcCalculatorStream is Closed. - - - - - Indicates whether the stream supports reading. - - - - - Indicates whether the stream supports seeking. - - - - - Indicates whether the stream supports writing. - - - - - Not implemented. - - - - - Not implemented. - - - - - Describes how to flush the current deflate operation. - - - The different FlushType values are useful when using a Deflate in a streaming application. - - - - No flush at all. - - - Closes the current block, but doesn't flush it to - the output. Used internally only in hypothetical - scenarios. This was supposed to be removed by Zlib, but it is - still in use in some edge cases. - - - - - Use this during compression to specify that all pending output should be - flushed to the output buffer and the output should be aligned on a byte - boundary. You might use this in a streaming communication scenario, so that - the decompressor can get all input data available so far. When using this - with a ZlibCodec, AvailableBytesIn will be zero after the call if - enough output space has been provided before the call. Flushing will - degrade compression and so it should be used only when necessary. - - - - - Use this during compression to specify that all output should be flushed, as - with FlushType.Sync, but also, the compression state should be reset - so that decompression can restart from this point if previous compressed - data has been damaged or if random access is desired. Using - FlushType.Full too often can significantly degrade the compression. - - - - Signals the end of the compression/decompression stream. - - - - A class for compressing and decompressing GZIP streams. - - - - - The GZipStream is a Decorator on a . It adds GZIP compression or decompression to any stream. - - - Like the Compression.GZipStream in the .NET Base - Class Library, the Ionic.Zlib.GZipStream can compress while writing, or decompress - while reading, but not vice versa. The compression method used is GZIP, which is - documented in IETF RFC 1952, - "GZIP file format specification version 4.3". - - A GZipStream can be used to decompress data (through Read()) or to compress - data (through Write()), but not both. - - If you wish to use the GZipStream to compress data, you must wrap it around a - write-able stream. As you call Write() on the GZipStream, the data will be - compressed into the GZIP format. If you want to decompress data, you must wrap the - GZipStream around a readable stream that contains an IETF RFC 1952-compliant stream. - The data will be decompressed as you call Read() on the GZipStream. - - Though the GZIP format allows data from multiple files to be concatenated - together, this stream handles only a single segment of GZIP format, typically - representing a single file. - - - This class is similar to and . - ZlibStream handles RFC1950-compliant streams. - handles RFC1951-compliant streams. This class handles RFC1952-compliant streams. - - - - - - - - - - Create a GZipStream using the specified CompressionMode and the specified CompressionLevel, - and explicitly specify whether the stream should be left open after Deflation or Inflation. - - - - This constructor allows the application to request that the captive stream remain open after - the deflation or inflation occurs. By default, after Close() is called on the stream, the - captive stream is also closed. In some cases this is not desired, for example if the stream - is a memory stream that will be re-read after compressed data has been written to it. Specify true for the - leaveOpen parameter to leave the stream open. - - - As noted in the class documentation, - the CompressionMode (Compress or Decompress) also establishes the "direction" of the stream. - A GZipStream with CompressionMode.Compress works only through Write(). A GZipStream with - CompressionMode.Decompress works only through Read(). - - - - This example shows how to use a DeflateStream to compress data. - - using (System.IO.Stream input = System.IO.File.OpenRead(fileToCompress)) - { - using (var raw = System.IO.File.Create(outputFile)) - { - using (Stream compressor = new GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, true)) - { - byte[] buffer = new byte[WORKING_BUFFER_SIZE]; - int n; - while ((n= input.Read(buffer, 0, buffer.Length)) != 0) - { - compressor.Write(buffer, 0, n); - } - } - } - } - - - Dim outputFile As String = (fileToCompress & ".compressed") - Using input As Stream = File.OpenRead(fileToCompress) - Using raw As FileStream = File.Create(outputFile) - Using compressor As Stream = New GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, True) - Dim buffer As Byte() = New Byte(4096) {} - Dim n As Integer = -1 - Do While (n <> 0) - If (n > 0) Then - compressor.Write(buffer, 0, n) - End If - n = input.Read(buffer, 0, buffer.Length) - Loop - End Using - End Using - End Using - - - The stream which will be read or written. - Indicates whether the GZipStream will compress or decompress. - true if the application would like the stream to remain open after inflation/deflation. - A tuning knob to trade speed for effectiveness. - - - - Dispose the stream. - - - This may or may not result in a Close() call on the captive stream. - See the ctor's with leaveOpen parameters for more information. - - - - - Flush the stream. - - - - - Read and decompress data from the source stream. - - - With a GZipStream, decompression is done through reading. - - - - byte[] working = new byte[WORKING_BUFFER_SIZE]; - using (System.IO.Stream input = System.IO.File.OpenRead(_CompressedFile)) - { - using (Stream decompressor= new Ionic.Zlib.GZipStream(input, CompressionMode.Decompress, true)) - { - using (var output = System.IO.File.Create(_DecompressedFile)) - { - int n; - while ((n= decompressor.Read(working, 0, working.Length)) !=0) - { - output.Write(working, 0, n); - } - } - } - } - - - The buffer into which the decompressed data should be placed. - the offset within that data array to put the first byte read. - the number of bytes to read. - the number of bytes actually read - - - - Calling this method always throws a . - - irrelevant; it will always throw! - irrelevant; it will always throw! - irrelevant! - - - - Calling this method always throws a NotImplementedException. - - irrelevant; this method will always throw! - - - - The Comment on the GZIP stream. - - - - The GZIP format allows for each file to optionally have an associated comment stored with the - file. The comment is encoded with the ISO-8859-1 code page. To include a comment in - a GZIP stream you create, set this property before calling Write() for the first time - on the GZipStream. - - - - When using GZipStream to decompress, you can retrieve this property after the first - call to Read(). If no comment has been set in the GZIP bytestream, the Comment - property will return null (Nothing in VB). - - - - - - The FileName for the GZIP stream. - - - - The GZIP format optionally allows each file to have an associated filename. When - compressing data (through Write()), set this FileName before calling Write() the first - time on the GZipStream. The actual filename is encoded into the GZIP bytestream with - the ISO-8859-1 code page, according to RFC 1952. It is the application's responsibility to - insure that the FileName can be encoded and decoded correctly with this code page. - - - When decompressing (through Read()), you can retrieve this value any time after the - first Read(). In the case where there was no filename encoded into the GZIP - bytestream, the property will return null (Nothing in VB). - - - - - - The CRC on the GZIP stream. - - - This is used for internal error checking. You probably don't need to look at this property. - - - - - This property sets the flush behavior on the stream. - - - - - The size of the working buffer for the compression codec. - - - - - The working buffer is used for all stream operations. The default size is 1024 bytes. - The minimum size is 128 bytes. You may get better performance with a larger buffer. - Then again, you might not. You would have to test it. - - - - Set this before the first call to Read() or Write() on the stream. If you try to set it - afterwards, it will throw. - - - - - Returns the total number of bytes input so far. - - - Returns the total number of bytes output so far. - - - - Indicates whether the stream can be read. - - - The return value depends on whether the captive stream supports reading. - - - - - Indicates whether the stream supports Seek operations. - - - Always returns false. - - - - - Indicates whether the stream can be written. - - - The return value depends on whether the captive stream supports writing. - - - - - Reading this property always throws a NotImplementedException. - - - - - The position of the stream pointer. - - - Writing this property always throws a NotImplementedException. Reading will - return the total bytes written out, if used in writing, or the total bytes - read in, if used in reading. The count may refer to compressed bytes or - uncompressed bytes, depending on how you've used the stream. - - - - - A general purpose exception class for exceptions in the Zlib library. - - - - - The ZlibException class captures exception information generated - by the Zlib library. - - - - - This ctor collects a message attached to the exception. - - - - - - Performs an unsigned bitwise right shift with the specified number - - Number to operate on - Ammount of bits to shift - The resulting number from the shift operation - - - - Performs an unsigned bitwise right shift with the specified number - - Number to operate on - Ammount of bits to shift - The resulting number from the shift operation - - - Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index. - The source TextReader to read from - Contains the array of characteres read from the source TextReader. - The starting index of the target array. - The maximum number of characters to read from the source TextReader. - The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached. - - - - Computes an Adler-32 checksum. - - - The Adler checksum is similar to a CRC checksum, but faster to compute, though less - reliable. It is used in producing RFC1950 compressed streams. The Adler checksum - is a required part of the "ZLIB" standard. Applications will almost never need to - use this class directly. - - - - - Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951). - - - - This class compresses and decompresses data according to the Deflate algorithm - and optionally, the ZLIB format, as documented in RFC 1950 - ZLIB and RFC 1951 - DEFLATE. - - - - - The buffer from which data is taken. - - - - - An index into the InputBuffer array, indicating where to start reading. - - - - - The number of bytes available in the InputBuffer, starting at NextIn. - - - Generally you should set this to InputBuffer.Length before the first Inflate() or Deflate() call. - The class will update this number as calls to Inflate/Deflate are made. - - - - - Total number of bytes read so far, through all calls to Inflate()/Deflate(). - - - - - Buffer to store output data. - - - - - An index into the OutputBuffer array, indicating where to start writing. - - - - - The number of bytes available in the OutputBuffer, starting at NextOut. - - - Generally you should set this to OutputBuffer.Length before the first Inflate() or Deflate() call. - The class will update this number as calls to Inflate/Deflate are made. - - - - - Total number of bytes written to the output so far, through all calls to Inflate()/Deflate(). - - - - - used for diagnostics, when something goes wrong! - - - - - The number of Window Bits to use. - - - This gauges the size of the sliding window, and hence the - compression effectiveness as well as memory consumption. It's best to just leave this - setting alone if you don't know what it is. The maximum value is 15 bits, which implies - a 32k window. - - - - - Create a ZlibCodec that decompresses. - - - - - Initialize the inflation state. - - - It is not necessary to call this before using the ZlibCodec to inflate data; - It is implicitly called when you call the constructor. - - Z_OK if everything goes well. - - - - Initialize the inflation state with an explicit flag to - govern the handling of RFC1950 header bytes. - - - - By default, the ZLIB header defined in RFC 1950 is expected. If - you want to read a zlib stream you should specify true for - expectRfc1950Header. If you have a deflate stream, you will want to specify - false. It is only necessary to invoke this initializer explicitly if you - want to specify false. - - - whether to expect an RFC1950 header byte - pair when reading the stream of data to be inflated. - - Z_OK if everything goes well. - - - - Initialize the ZlibCodec for inflation, with the specified number of window bits. - - The number of window bits to use. If you need to ask what that is, - then you shouldn't be calling this initializer. - Z_OK if all goes well. - - - - Initialize the inflation state with an explicit flag to govern the handling of - RFC1950 header bytes. - - - - If you want to read a zlib stream you should specify true for - expectRfc1950Header. In this case, the library will expect to find a ZLIB - header, as defined in RFC - 1950, in the compressed stream. If you will be reading a DEFLATE or - GZIP stream, which does not have such a header, you will want to specify - false. - - - whether to expect an RFC1950 header byte pair when reading - the stream of data to be inflated. - The number of window bits to use. If you need to ask what that is, - then you shouldn't be calling this initializer. - Z_OK if everything goes well. - - - - Inflate the data in the InputBuffer, placing the result in the OutputBuffer. - - - You must have set InputBuffer and OutputBuffer, NextIn and NextOut, and AvailableBytesIn and - AvailableBytesOut before calling this method. - - - - private void InflateBuffer() - { - int bufferSize = 1024; - byte[] buffer = new byte[bufferSize]; - ZlibCodec decompressor = new ZlibCodec(); - - Console.WriteLine("\n============================================"); - Console.WriteLine("Size of Buffer to Inflate: {0} bytes.", CompressedBytes.Length); - MemoryStream ms = new MemoryStream(DecompressedBytes); - - int rc = decompressor.InitializeInflate(); - - decompressor.InputBuffer = CompressedBytes; - decompressor.NextIn = 0; - decompressor.AvailableBytesIn = CompressedBytes.Length; - - decompressor.OutputBuffer = buffer; - - // pass 1: inflate - do - { - decompressor.NextOut = 0; - decompressor.AvailableBytesOut = buffer.Length; - rc = decompressor.Inflate(ZlibConstants.Z_NO_FLUSH); - - if (rc != ZlibConstants.Z_OK && rc != ZlibConstants.Z_STREAM_END) - throw new Exception("inflating: " + decompressor.Message); - - ms.Write(decompressor.OutputBuffer, 0, buffer.Length - decompressor.AvailableBytesOut); - } - while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); - - // pass 2: finish and flush - do - { - decompressor.NextOut = 0; - decompressor.AvailableBytesOut = buffer.Length; - rc = decompressor.Inflate(ZlibConstants.Z_FINISH); - - if (rc != ZlibConstants.Z_STREAM_END && rc != ZlibConstants.Z_OK) - throw new Exception("inflating: " + decompressor.Message); - - if (buffer.Length - decompressor.AvailableBytesOut > 0) - ms.Write(buffer, 0, buffer.Length - decompressor.AvailableBytesOut); - } - while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); - - decompressor.EndInflate(); - } - - - - The flush to use when inflating. - Z_OK if everything goes well. - - - - Ends an inflation session. - - - Call this after successively calling Inflate(). This will cause all buffers to be flushed. - After calling this you cannot call Inflate() without a intervening call to one of the - InitializeInflate() overloads. - - Z_OK if everything goes well. - - - - I don't know what this does! - - Z_OK if everything goes well. - - - - Set the dictionary to be used for either Inflation or Deflation. - - The dictionary bytes to use. - Z_OK if all goes well. - - - - The Adler32 checksum on the data transferred through the codec so far. You probably don't need to look at this. - - - - - A bunch of constants used in the Zlib interface. - - - - - The maximum number of window bits for the Deflate algorithm. - - - - - The default number of window bits for the Deflate algorithm. - - - - - indicates everything is A-OK - - - - - Indicates that the last operation reached the end of the stream. - - - - - The operation ended in need of a dictionary. - - - - - There was an error with the stream - not enough data, not open and readable, etc. - - - - - There was an error with the data - not enough data, bad data, etc. - - - - - There was an error with the working buffer. - - - - - The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes. - - - - - The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes. - - - - - Represents a Zlib stream for compression or decompression. - - - - - The ZlibStream is a Decorator on a . It adds ZLIB compression or decompression to any - stream. - - - Using this stream, applications can compress or decompress data via - stream Read and Write operations. Either compresssion or - decompression can occur through either reading or writing. The compression - format used is ZLIB, which is documented in IETF RFC 1950, "ZLIB Compressed - Data Format Specification version 3.3". This implementation of ZLIB always uses - DEFLATE as the compression method. (see IETF RFC 1951, "DEFLATE - Compressed Data Format Specification version 1.3.") - - - The ZLIB format allows for varying compression methods, window sizes, and dictionaries. - This implementation always uses the DEFLATE compression method, a preset dictionary, - and 15 window bits by default. - - - - This class is similar to , except that it adds the - RFC1950 header and trailer bytes to a compressed stream when compressing, or expects - the RFC1950 header and trailer bytes when decompressing. It is also similar to the - . - - - - - - - - Dispose the stream. - - - This may or may not result in a Close() call on the captive stream. - See the constructors that have a leaveOpen parameter for more information. - - - - - Flush the stream. - - - - - Read data from the stream. - - - - - - If you wish to use the ZlibStream to compress data while reading, you can create a - ZlibStream with CompressionMode.Compress, providing an uncompressed data stream. Then - call Read() on that ZlibStream, and the data read will be compressed. If you wish to - use the ZlibStream to decompress data while reading, you can create a ZlibStream with - CompressionMode.Decompress, providing a readable compressed data stream. Then call - Read() on that ZlibStream, and the data will be decompressed as it is read. - - - - A ZlibStream can be used for Read() or Write(), but not both. - - - The buffer into which the read data should be placed. - the offset within that data array to put the first byte read. - the number of bytes to read. - - - - Calling this method always throws a NotImplementedException. - - - - - Calling this method always throws a NotImplementedException. - - - - - Write data to the stream. - - - - - - If you wish to use the ZlibStream to compress data while writing, you can create a - ZlibStream with CompressionMode.Compress, and a writable output stream. Then call - Write() on that ZlibStream, providing uncompressed data as input. The data sent to - the output stream will be the compressed form of the data written. If you wish to use - the ZlibStream to decompress data while writing, you can create a ZlibStream with - CompressionMode.Decompress, and a writable output stream. Then call Write() on that - stream, providing previously compressed data. The data sent to the output stream will - be the decompressed form of the data written. - - - - A ZlibStream can be used for Read() or Write(), but not both. - - - The buffer holding data to write to the stream. - the offset within that data array to find the first byte to write. - the number of bytes to write. - - - - Uncompress a byte array into a single string. - - - - A buffer containing ZLIB-compressed data. - - - - - Uncompress a byte array into a byte array. - - - - - A buffer containing ZLIB-compressed data. - - - - - This property sets the flush behavior on the stream. - Sorry, though, not sure exactly how to describe all the various settings. - - - - - The size of the working buffer for the compression codec. - - - - - The working buffer is used for all stream operations. The default size is 1024 bytes. - The minimum size is 128 bytes. You may get better performance with a larger buffer. - Then again, you might not. You would have to test it. - - - - Set this before the first call to Read() or Write() on the stream. If you try to set it - afterwards, it will throw. - - - - - Returns the total number of bytes input so far. - - - Returns the total number of bytes output so far. - - - - Indicates whether the stream can be read. - - - The return value depends on whether the captive stream supports reading. - - - - - Indicates whether the stream supports Seek operations. - - - Always returns false. - - - - - Indicates whether the stream can be written. - - - The return value depends on whether the captive stream supports writing. - - - - - Reading this property always throws a NotImplementedException. - - - - - The position of the stream pointer. - - - Writing this property always throws a NotImplementedException. Reading will - return the total bytes written out, if used in writing, or the total bytes - read in, if used in reading. The count may refer to compressed bytes or - uncompressed bytes, depending on how you've used the stream. - - - - - Allows control how class and property names and values are deserialized by XmlAttributeDeserializer - - - - - The name to use for the serialized element - - - - - Sets if the property to Deserialize is an Attribute or Element (Default: false) - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Types of parameters that can be added to requests - - - - - Data formats - - - - - HTTP method to use when making requests - - - - - Format strings for commonly-used date formats - - - - - .NET format string for ISO 8601 date format - - - - - .NET format string for roundtrip date format - - - - - Status for responses (surprised?) - - - - - Extension method overload! - - - - - Read a stream into a byte array - - Stream to read - byte[] - - - - Copies bytes from one stream to another - - The input stream. - The output stream. - - - - Converts a byte array to a string, using its byte order mark to convert it to the right encoding. - http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx - - An array of bytes to convert - The byte as a string. - - - - Reflection extensions - - - - - Retrieve an attribute from a member (property) - - Type of attribute to retrieve - Member to retrieve attribute from - - - - - Retrieve an attribute from a type - - Type of attribute to retrieve - Type to retrieve attribute from - - - - - Checks a type to see if it derives from a raw generic (e.g. List[[]]) - - - - - - - - Find a value from a System.Enum by trying several possible variants - of the string value of the enum. - - Type of enum - Value for which to search - The culture used to calculate the name variants - - - - - Convert a to a instance. - - The response status. - - responseStatus - - - - Uses Uri.EscapeDataString() based on recommendations on MSDN - http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx - - - - - Check that a string is not null or empty - - String to check - bool - - - - Remove underscores from a string - - String to process - string - - - - Parses most common JSON date formats - - JSON value to parse - - DateTime - - - - Remove leading and trailing " from a string - - String to parse - String - - - - Checks a string to see if it matches a regex - - String to check - Pattern to match - bool - - - - Converts a string to pascal case - - String to convert - - string - - - - Converts a string to pascal case with the option to remove underscores - - String to convert - Option to remove underscores - - - - - - Converts a string to camel case - - String to convert - - String - - - - Convert the first letter of a string to lower case - - String to convert - string - - - - Checks to see if a string is all uppper case - - String to check - bool - - - - Add underscores to a pascal-cased string - - String to convert - string - - - - Add dashes to a pascal-cased string - - String to convert - string - - - - Add an undescore prefix to a pascasl-cased string - - - - - - - Add spaces to a pascal-cased string - - String to convert - string - - - - Return possible variants of a name for name matching. - - String to convert - The culture to use for conversion - IEnumerable<string> - - - - XML Extension Methods - - - - - Returns the name of an element with the namespace if specified - - Element name - XML Namespace - - - - - Container for files to be uploaded with requests - - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The content type to use in the request. - The - - - - Creates a file parameter from an array of bytes. - - The parameter name to use in the request. - The data to use as the file's contents. - The filename to use in the request. - The using the default content type. - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - HttpWebRequest wrapper (async methods) - - - HttpWebRequest wrapper - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - Execute an async POST-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Execute an async GET-style request with the specified HTTP Method. - - - The HTTP method to execute. - - - - - Creates an IHttp - - - - - - Default constructor - - - - - True if this HTTP request has any HTTP parameters - - - - - True if this HTTP request has any HTTP cookies - - - - - True if a request body has been specified - - - - - True if files have been set to be uploaded - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - UserAgent to be sent with request - - - - - Timeout in milliseconds to be used for the request - - - - - The number of milliseconds before the writing or reading times out. - - - - - System.Net.ICredentials to be sent with request - - - - - The System.Net.CookieContainer to be used for the request - - - - - The method to use to write the response instead of reading into RawBytes - - - - - Collection of files to be sent with request - - - - - Whether or not HTTP 3xx response redirects should be automatically followed - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. - - - - - HTTP headers to be sent with request - - - - - HTTP parameters (QueryString or Form values) to be sent with request - - - - - HTTP cookies to be sent with request - - - - - Request body to be sent with request - - - - - Content type of the request body. - - - - - An alternative to RequestBody, for when the caller already has the byte array. - - - - - URL to call for this request - - - - - Flag to send authorisation header with the HttpWebRequest - - - - - Representation of an HTTP cookie - - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - - Container for HTTP file - - - - - The length of data to be sent - - - - - Provides raw data for file - - - - - Name of the file to use when uploading - - - - - MIME content type of file - - - - - Name of the parameter - - - - - Representation of an HTTP header - - - - - Name of the header - - - - - Value of the header - - - - - Representation of an HTTP parameter (QueryString or Form value) - - - - - Name of the parameter - - - - - Value of the parameter - - - - - Content-Type of the parameter - - - - - HTTP response data - - - - - HTTP response data - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Default constructor - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - Lazy-loaded string representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Headers returned by server with the response - - - - - Cookies returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exception thrown when error is encountered. - - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are five types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - Cookie: Adds the name/value pair to the HTTP request's Cookies collection - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container for data sent back from API - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - Exceptions thrown during the request, if any. - - Will contain only network transport or framework exceptions thrown during the request. - HTTP protocol errors are handled by RestSharp and will not appear here. - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Parameter container for REST requests - - - - - Return a human-readable representation of this parameter - - String - - - - Name of the parameter - - - - - Value of the parameter - - - - - Type of the parameter - - - - - MIME content type of the parameter - - - - - Client to translate RestRequests into Http requests and process response result - - - - - Executes the request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Request to be executed - Callback function to be executed upon completion providing access to the async handle. - The HTTP method to execute - - - - Executes the request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - - - - Executes a GET-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a POST-style request and callback asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - Callback function to be executed upon completion - The HTTP method to execute - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a GET-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes a POST-style request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - - - - Executes the request asynchronously, authenticating if needed - - Target deserialization type - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a GET-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - - - - Executes a POST-style asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Executes the request asynchronously, authenticating if needed - - Request to be executed - The cancellation token - - - - Default constructor that registers default content handlers - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Sets the BaseUrl property for requests made by this client instance - - - - - - Registers a content handler to process response content - - MIME content type of the response content - Deserializer to use to process content - - - - Remove a content handler for the specified MIME content type - - MIME content type to remove - - - - Remove all content handlers - - - - - Retrieve the handler for the specified MIME content type - - MIME content type to retrieve - IDeserializer instance - - - - Assembles URL to call based on parameters, method and resource - - RestRequest to execute - Assembled System.Uri - - - - Maximum number of redirects to follow if FollowRedirects is true - - - - - Default is true. Determine whether or not requests that result in - HTTP status codes of 3xx should follow returned redirect - - - - - The CookieContainer used for requests made by this client instance - - - - - UserAgent to use for requests made by this client instance - - - - - Timeout in milliseconds to use for requests made by this client instance - - - - - The number of milliseconds before the writing or reading times out. - - - - - Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked - - - - - Authenticator to use for requests made by this client instance - - - - - Combined with Request.Resource to construct URL for request - Should include scheme and domain without trailing slash. - - - client.BaseUrl = new Uri("http://example.com"); - - - - - Parameters included with every request made with this instance of RestClient - If specified in both client and request, the request wins - - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Request to be executed - Callback function to be executed upon completion - - - - Executes the request and callback asynchronously, authenticating if needed - - The IRestClient this method extends - Target deserialization type - Request to be executed - Callback function to be executed upon completion providing access to the async handle - - - - Add a parameter to use on every request made with this client instance - - The IRestClient instance - Parameter to add - - - - - Removes a parameter from the default parameters that are used on every request made with this client instance - - The IRestClient instance - The name of the parameter that needs to be removed - - - - - Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - Used on every request made by this client instance - - The IRestClient instance - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - The IRestClient instance - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Shortcut to AddDefaultParameter(name, value, HttpHeader) overload - - The IRestClient instance - Name of the header to add - Value of the header to add - - - - - Shortcut to AddDefaultParameter(name, value, UrlSegment) overload - - The IRestClient instance - Name of the segment to add - Value of the segment to add - - - - - Container for data used to make requests - - - - - Default constructor - - - - - Sets Method property to value of method - - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Sets Resource property - - Resource to use for this request - - - - Sets Resource and Method properties - - Resource to use for this request - Method to use for this request - - - - Adds a file to the Files collection to be included with a POST or PUT request - (other methods do not support file uploads). - - The parameter name to use in the request - Full path to file to upload - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name - - The parameter name to use in the request - The file data - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Adds the bytes to the Files collection with the specified file name and content type - - The parameter name to use in the request - A function that writes directly to the stream. Should NOT close the stream. - The file name to use for the uploaded file - The MIME type of the file to upload - This request - - - - Add bytes to the Files collection as if it was a file of specific type - - A form parameter name - The file data - The file name to use for the uploaded file - Specific content type. Es: application/x-gzip - - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Serializes obj to data format specified by RequestFormat and adds it to the request body. - The default format is XML. Change RequestFormat if you wish to use a different serialization format. - - The object to serialize - This request - - - - Serializes obj to JSON format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to XML format and adds it to the request body. - - The object to serialize - This request - - - - Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer - Serializes obj to XML format and passes xmlNamespace then adds it to the request body. - - The object to serialize - The XML namespace to use when serializing - This request - - - - Calls AddParameter() for all public, readable properties specified in the includedProperties list - - - request.AddObject(product, "ProductId", "Price", ...); - - The object with properties to add as parameters - The names of the properties to include - This request - - - - Calls AddParameter() for all public, readable properties of obj - - The object with properties to add as parameters - This request - - - - Add the parameter to the request - - Parameter to add - - - - - Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) - - Name of the parameter - Value of the parameter - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - The type of parameter to add - This request - - - - Adds a parameter to the request. There are four types of parameters: - - GetOrPost: Either a QueryString value or encoded form value based on method - - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection - - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} - - RequestBody: Used by AddBody() (not recommended to use directly) - - Name of the parameter - Value of the parameter - Content-Type of the parameter - The type of parameter to add - This request - - - - Shortcut to AddParameter(name, value, HttpHeader) overload - - Name of the header to add - Value of the header to add - - - - - Shortcut to AddParameter(name, value, Cookie) overload - - Name of the cookie to add - Value of the cookie to add - - - - - Shortcut to AddParameter(name, value, UrlSegment) overload - - Name of the segment to add - Value of the segment to add - - - - - Shortcut to AddParameter(name, value, QueryString) overload - - Name of the parameter to add - Value of the parameter to add - - - - - Internal Method so that RestClient can increase the number of attempts - - - - - Always send a multipart/form-data request - even when no Files are present. - - - - - Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. - By default the included JsonSerializer is used (currently using JSON.NET default serialization). - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default the included XmlSerializer is used. - - - - - Set this to write response to Stream rather than reading into memory. - - - - - Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) - will be sent along to the server. The default is false. - - - - - Container of all HTTP parameters to be passed with the request. - See AddParameter() for explanation of the types of parameters that can be passed - - - - - Container of all the files to be uploaded with the request. - - - - - Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS - Default is GET - - - - - The Resource URL to make the request against. - Tokens are substituted with UrlSegment parameters and match by name. - Should not include the scheme or domain. Do not include leading slash. - Combined with RestClient.BaseUrl to assemble final URL: - {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) - - - // example for url token replacement - request.Resource = "Products/{ProductId}"; - request.AddParameter("ProductId", 123, ParameterType.UrlSegment); - - - - - Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. - By default XmlSerializer is used. - - - - - Used by the default deserializers to determine where to start deserializing from. - Can be used to skip container or root elements that do not have corresponding deserialzation targets. - - - - - A function to run prior to deserializing starting (e.g. change settings if error encountered) - - - - - Used by the default deserializers to explicitly set which date format string to use when parsing dates. - - - - - Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. - - - - - In general you would not need to set this directly. Used by the NtlmAuthenticator. - - - - - Gets or sets a user-defined state object that contains information about a request and which can be later - retrieved when the request completes. - - - - - Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. - - - - - The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. - - - - - How many attempts were made to send this Request? - - - This Number is incremented each time the RestClient sends the request. - Useful when using Asynchronous Execution with Callbacks - - - - - Base class for common properties shared by RestResponse and RestResponse[[T]] - - - - - Default constructor - - - - - Assists with debugging responses by displaying in the debugger output - - - - - - The RestRequest that was made to get this RestResponse - - - Mainly for debugging if ResponseStatus is not OK - - - - - MIME content type of response - - - - - Length in bytes of the response content - - - - - Encoding of the response content - - - - - String representation of response content - - - - - HTTP response status code - - - - - Description of HTTP status returned - - - - - Response content - - - - - The URL that actually responded to the content (different from request if redirected) - - - - - HttpWebResponse.Server - - - - - Cookies returned by server with the response - - - - - Headers returned by server with the response - - - - - Status of the request. Will return Error for transport errors. - HTTP errors will still return ResponseStatus.Completed, check StatusCode instead - - - - - Transport or other non-HTTP error generated while attempting request - - - - - The exception thrown during the request, if any - - - - - Container for data sent back from API including deserialized data - - Type of data to deserialize to - - - - Deserialized entity data - - - - - Container for data sent back from API - - - - - Wrapper for System.Xml.Serialization.XmlSerializer. - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Encoding for serialized content - - - - - Need to subclass StringWriter in order to override Encoding - - - - - Default JSON serializer for request bodies - Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes - - - - - Default serializer - - - - - Serialize the object as JSON - - Object to serialize - JSON as String - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Unused for JSON Serialization - - - - - Content type for serialized content - - - - - Allows control how class and property names and values are serialized by XmlSerializer - Currently not supported with the JsonSerializer - When specified at the property level the class-level specification is overridden - - - - - Called by the attribute when NameStyle is speficied - - The string to transform - String - - - - The name to use for the serialized element - - - - - Sets the value to be serialized as an Attribute instead of an Element - - - - - The culture to use when serializing - - - - - Transforms the casing of the name based on the selected value. - - - - - The order to serialize the element. Default is int.MaxValue. - - - - - Options for transforming casing of element names - - - - - Default XML Serializer - - - - - Default constructor, does not specify namespace - - - - - Specify the namespaced to be used when serializing - - XML namespace - - - - Serialize the object as XML - - Object to serialize - XML as string - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Name of the root element to use when serializing - - - - - XML namespace to use when serializing - - - - - Format string to use when serializing dates - - - - - Content type for serialized content - - - - - Represents the json array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The capacity of the json array. - - - - The json representation of the array. - - The json representation of the array. - - - - Represents the json object. - - - - - The internal member dictionary. - - - - - Initializes a new instance of . - - - - - Initializes a new instance of . - - The implementation to use when comparing keys, or null to use the default for the type of the key. - - - - Adds the specified key. - - The key. - The value. - - - - Determines whether the specified key contains key. - - The key. - - true if the specified key contains key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - - Tries the get value. - - The key. - The value. - - - - - Adds the specified item. - - The item. - - - - Clears this instance. - - - - - Determines whether [contains] [the specified item]. - - The item. - - true if [contains] [the specified item]; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Removes the specified item. - - The item. - - - - - Gets the enumerator. - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns a json that represents the current . - - - A json that represents the current . - - - - - Gets the at the specified index. - - - - - - Gets the keys. - - The keys. - - - - Gets the values. - - The values. - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - The count. - - - - Gets a value indicating whether this instance is read only. - - - true if this instance is read only; otherwise, false. - - - - - This class encodes and decodes JSON strings. - Spec. details, see http://www.json.org/ - - JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). - All numbers are parsed to doubles. - - - - - Parses the string json into a value - - A JSON string. - An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false - - - - Try parsing the json string into a value. - - - A JSON string. - - - The object. - - - Returns true if successfull otherwise false. - - - - - Converts a IDictionary<string,object> / IList<object> object into a JSON string - - A IDictionary<string,object> / IList<object> - Serializer strategy to use - A JSON encoded string, or null if object 'json' is not serializable - - - - Determines if a given object is numeric in any way - (can be integer, double, null, etc). - - - - - Helper methods for validating required values - - - - - Require a parameter to not be null - - Name of the parameter - Value of the parameter - - - - Helper methods for validating values - - - - - Validate an integer value is between the specified values (exclusive of min/max) - - Value to validate - Exclusive minimum value - Exclusive maximum value - - - - Validate a string length - - String to be validated - Maximum length of the string - - - - Comment of the cookie - - - - - Comment of the cookie - - - - - Indicates whether the cookie should be discarded at the end of the session - - - - - Domain of the cookie - - - - - Indicates whether the cookie is expired - - - - - Date and time that the cookie expires - - - - - Indicates that this cookie should only be accessed by the server - - - - - Name of the cookie - - - - - Path of the cookie - - - - - Port of the cookie - - - - - Indicates that the cookie should only be sent over secure channels - - - - - Date and time the cookie was created - - - - - Value of the cookie - - - - - Version of the cookie - - - - diff --git a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/readme.txt b/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/readme.txt deleted file mode 100644 index b4c46a7..0000000 --- a/c-sharp-rest/SmallModel/packages/RestSharp.105.2.3/readme.txt +++ /dev/null @@ -1,20 +0,0 @@ -*** IMPORTANT CHANGE IN RESTSHARP VERSION 103 *** - -In 103.0, JSON.NET was removed as a dependency. - -If this is still installed in your project and no other libraries depend on -it you may remove it from your installed packages. - -There is one breaking change: the default Json*Serializer* is no longer -compatible with Json.NET. To use Json.NET for serialization, copy the code -from https://github.com/restsharp/RestSharp/blob/86b31f9adf049d7fb821de8279154f41a17b36f7/RestSharp/Serializers/JsonSerializer.cs -and register it with your client: - -var client = new RestClient(); -client.JsonSerializer = new YourCustomSerializer(); - -The default Json*Deserializer* is mostly compatible, but it does not support -all features which Json.NET has (like the ability to support a custom [JsonConverter] -by decorating a certain property with an attribute). If you need these features, you -must take care of the deserialization yourself to get it working. - diff --git a/c-sharp-rest/SmallModel/packages/repositories.config b/c-sharp-rest/SmallModel/packages/repositories.config deleted file mode 100644 index f43741a..0000000 --- a/c-sharp-rest/SmallModel/packages/repositories.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/c-sharp-websocket/SmallModel/README.md b/c-sharp-websocket/SmallModel/README.md deleted file mode 100644 index 026480e..0000000 --- a/c-sharp-websocket/SmallModel/README.md +++ /dev/null @@ -1,24 +0,0 @@ -This example will run simulated test using GraphWalker started as a WebSocket service. - - * Download [latest GraphWalker standalone jar](http://graphwalker.github.io/content/archive/graphwalker-cli-3.4.2.jar). - * Start GraphWalker as a WebSocker service: `java -jar graphwalker-cli-3.4.2.jar -d all online`. - * `git clone https://github.com/GraphWalker/graphwalker-example.git` - * `cd c-sharp-websocket/SmallModel` - * Build the SmallModel project.
- On linux: `xbuild ` - * Run the program: - On linux: `mono SmallModel/bin/Debug/SmallModel.exe` - -When run, the SmallModel program will connect to the GraphWalker service, and load a [model in JSON notation](http://graphwalker.org/docs/json_graph). -![Alt text](/c-sharp-websocket/SmallModel/SmallModel.png?raw=true "The model") - -It will then start the state machine in the GraphWalker service, and query it for steps to execute. The psuedo code would look something like the: -``` - while hasNext() - step = getNext() - "Call method step in C# SmallModel class" - invoke SmallModel.'step' - print getData() -``` - - diff --git a/c-sharp-websocket/SmallModel/SmallModel.graphml b/c-sharp-websocket/SmallModel/SmallModel.graphml deleted file mode 100644 index 5f396b9..0000000 --- a/c-sharp-websocket/SmallModel/SmallModel.graphml +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - v_VerifySomeAction - - - - - - - - - - - - - - - - - Start - - - - - - - - - - - - - - - - - v_VerifySomeOtherAction - - - - - - - - - - - - - - - - - e_FirstAction / x=0; y=0; - - - - - - - - - - - - - - - - - - - - e_SomeOtherAction / y+=1; - - - - - - - - - - - - - - - - - - - - - e_AnotherAction / y+=1; - - - - - - - - - - - - - - - - - - - - - - - e_SomeOtherAction / x+=1; - - - - - - - - - - - - - - - diff --git a/c-sharp-websocket/SmallModel/SmallModel.png b/c-sharp-websocket/SmallModel/SmallModel.png deleted file mode 100644 index 8d645fb..0000000 Binary files a/c-sharp-websocket/SmallModel/SmallModel.png and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/SmallModel.sln b/c-sharp-websocket/SmallModel/SmallModel.sln deleted file mode 100644 index edf4b2e..0000000 --- a/c-sharp-websocket/SmallModel/SmallModel.sln +++ /dev/null @@ -1,17 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SmallModel", "SmallModel\SmallModel.csproj", "{43FCE714-1F0F-4D78-B267-3CCFDD63433A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x86 = Debug|x86 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {43FCE714-1F0F-4D78-B267-3CCFDD63433A}.Debug|x86.ActiveCfg = Debug|x86 - {43FCE714-1F0F-4D78-B267-3CCFDD63433A}.Debug|x86.Build.0 = Debug|x86 - {43FCE714-1F0F-4D78-B267-3CCFDD63433A}.Release|x86.ActiveCfg = Release|x86 - {43FCE714-1F0F-4D78-B267-3CCFDD63433A}.Release|x86.Build.0 = Release|x86 - EndGlobalSection -EndGlobal diff --git a/c-sharp-websocket/SmallModel/SmallModel/Program.cs b/c-sharp-websocket/SmallModel/SmallModel/Program.cs deleted file mode 100644 index a22f1e5..0000000 --- a/c-sharp-websocket/SmallModel/SmallModel/Program.cs +++ /dev/null @@ -1,267 +0,0 @@ -using System; -using Alchemy; -using Alchemy.Classes; -using Newtonsoft.Json.Linq; -using System.Threading; -using System.Reflection; - -namespace SmallModel -{ - class GraphWalkerClientWorker - { - private WebSocketClient ws = null; - public AutoResetEvent connectedEvent = new AutoResetEvent(false); - public AutoResetEvent loadModelEvent = new AutoResetEvent(false); - public AutoResetEvent startEvent = new AutoResetEvent(false); - public AutoResetEvent hasNextEvent = new AutoResetEvent(false); - public AutoResetEvent getNextEvent = new AutoResetEvent(false); - public AutoResetEvent getDataEvent = new AutoResetEvent(false); - private volatile string element = ""; - private volatile JObject data; - public volatile bool isHasNext = false; - - public void connect () - { - Console.WriteLine ("Will connect to GraphWalker server..."); - ws = new WebSocketClient ("ws://localhost:8887/") { - OnReceive = OnReceive, - OnConnected = OnConnected - }; - ws.Connect (); - } - - public void disconnect () - { - Console.WriteLine ("Will disconnect from GraphWalker server..."); - ws.Disconnect (); - WebSocketClient.Shutdown (); - Console.WriteLine ("Disconnected!"); - } - - void OnConnected(UserContext context) { - Console.WriteLine ("Connected!"); - connectedEvent.Set (); - } - - void OnReceive (UserContext context) - { - Console.WriteLine ("Receiving message: " + context.DataFrame.ToString ()); - JObject response = JObject.Parse (context.DataFrame.ToString ()); - - if (response.GetValue("command") == null) { - Console.WriteLine ("Unknown response type: " + response.ToString ()); - return; - } - - if (response.GetValue ("command").ToString ().Equals ("start")) { - if (!response.GetValue ("success").ToString().Equals("true", StringComparison.CurrentCultureIgnoreCase)) { - Console.WriteLine ("Failed start the GraphWalker machine: " + response.ToString ()); - return; - } - Console.WriteLine ("GraphWalker machine started ok"); - startEvent.Set (); - } else if (response.GetValue ("command").ToString ().Equals ("hasNext")) { - if (!response.GetValue ("success").ToString().Equals("true", StringComparison.CurrentCultureIgnoreCase)) { - Console.WriteLine ("hasNext failed"); - isHasNext = false; - hasNextEvent.Set (); - return; - } - if (!response.GetValue ("hasNext").ToString().Equals("true", StringComparison.CurrentCultureIgnoreCase)) { - Console.WriteLine ("hasNext returned false"); - isHasNext = false; - hasNextEvent.Set (); - return; - } - - Console.WriteLine ("hasNext returned true"); - isHasNext = true; - hasNextEvent.Set (); - } else if (response.GetValue ("command").ToString ().Equals ("getNext")) { - if (!response.GetValue ("success").ToString().Equals("true", StringComparison.CurrentCultureIgnoreCase)) { - Console.WriteLine ("getNext returned false"); - return; - } - Console.WriteLine ("getNext: " + response.GetValue("name").ToString()); - element = response.GetValue ("name").ToString (); - getNextEvent.Set (); - } else if (response.GetValue ("command").ToString ().Equals ("getData")) { - if (!response.GetValue ("success").ToString().Equals("true", StringComparison.CurrentCultureIgnoreCase)) { - Console.WriteLine ("getData failed"); - return; - } - data = (JObject)response.DeepClone(); - getDataEvent.Set (); - } else { - Console.WriteLine ("Unknown response command: " + response.ToString ()); - } - - } - - public JObject getDataObject () - { - getDataEvent.Reset (); - return (JObject)data.DeepClone(); - } - - public string getMessage () - { - hasNextEvent.Reset (); - getNextEvent.Reset (); - return (string)element.Clone(); - } - - public void hasNext () - { - ws.Send (@"{ - ""command"":""hasNext"" - }"); - } - - public void getNext () - { - ws.Send (@"{ - ""command"":""getNext"" - }"); - } - - public void start (string model) - { - ws.Send (model); - } - - public void getData () - { - ws.Send (@"{ - ""command"":""getData"" - }"); - } - } - - class MainClass - { - private const string model = - @"{ - ""command"": ""start"", - ""gw3"": { - ""name"": ""A small test model"", - ""models"": [ - { - ""name"":""Small model"", - ""generator"":""random(edge_coverage(100))"", - ""startElementId"":""e0"", - ""vertices"": [ - { - ""id"": ""n0"", - ""name"": ""v_VerifySomeAction"", - ""properties"": { - ""x"": 255.9443359375, - ""y"": 211.0 - } - }, - { - ""id"": ""n2"", - ""name"": ""v_VerifySomeOtherAction"", - ""properties"": { - ""x"": 289.908203125, - ""y"": 372.0 - } - } - ], - ""edges"": [ - { - ""actions"": [ - "" x=0;"", - "" y=0;"" - ], - ""id"": ""e0"", - ""name"": ""e_FirstAction"", - ""targetVertexId"": ""n0"" - }, - { - ""actions"": [ - "" y+=1;"" - ], - ""id"": ""e1"", - ""name"": ""e_SomeOtherAction"", - ""sourceVertexId"": ""n0"", - ""targetVertexId"": ""n2"" - }, - { - ""actions"": [ - "" y+=1;"" - ], - ""id"": ""e2"", - ""name"": ""e_AnotherAction"", - ""sourceVertexId"": ""n2"", - ""targetVertexId"": ""n0"" - }, - { - ""actions"": [ - "" x+=1;"" - ], - ""id"": ""e3"", - ""name"": ""e_SomeOtherAction"", - ""sourceVertexId"": ""n2"", - ""targetVertexId"": ""n2"" - } - ] - } - ] - } - }"; - - public static void Main (string[] args) - { - MainClass program = new MainClass (); - program.run (); - } - - public void run () - { - // Create the thread object, passing in the - // GraphWalkerClientWorker.connect method via a ThreadStart delegate. - // This does not start the thread. - GraphWalkerClientWorker worker = new GraphWalkerClientWorker (); - Thread workerThread = new Thread (worker.connect); - - // Start the thread - workerThread.Start (); - - // Spin for a while waiting for the started thread to become - // alive: - while (!workerThread.IsAlive) - ; - - worker.connectedEvent.WaitOne (); - - worker.start (model); - worker.startEvent.WaitOne (); - - Type smallModelType = typeof(SmallModel); - ConstructorInfo ctor = smallModelType.GetConstructor(System.Type.EmptyTypes); - - while (true) { - worker.hasNext (); - worker.hasNextEvent.WaitOne (); - if (!worker.isHasNext) - break; - - worker.getNext (); - worker.getNextEvent.WaitOne (); - string methodName = (string)worker.getMessage(); - - object instance = ctor.Invoke(null); - MethodInfo methodInfo = smallModelType.GetMethod(methodName); - methodInfo.Invoke(instance, new object[]{}); - - worker.getData (); - worker.getDataEvent.WaitOne (); - Console.WriteLine("Data: " + worker.getDataObject().ToString()); - } - worker.disconnect(); - workerThread.Join (); - } - - } -} diff --git a/c-sharp-websocket/SmallModel/SmallModel/Properties/AssemblyInfo.cs b/c-sharp-websocket/SmallModel/SmallModel/Properties/AssemblyInfo.cs deleted file mode 100644 index d1f6092..0000000 --- a/c-sharp-websocket/SmallModel/SmallModel/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. - -[assembly: AssemblyTitle ("SmallModel")] -[assembly: AssemblyDescription ("")] -[assembly: AssemblyConfiguration ("")] -[assembly: AssemblyCompany ("")] -[assembly: AssemblyProduct ("")] -[assembly: AssemblyCopyright ("krikar")] -[assembly: AssemblyTrademark ("")] -[assembly: AssemblyCulture ("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion ("1.0.*")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - diff --git a/c-sharp-websocket/SmallModel/SmallModel/SmallModel.cs b/c-sharp-websocket/SmallModel/SmallModel/SmallModel.cs deleted file mode 100644 index 35e4540..0000000 --- a/c-sharp-websocket/SmallModel/SmallModel/SmallModel.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; - -namespace SmallModel -{ - public class SmallModel - { - public void v_VerifySomeAction() - { - Console.WriteLine ("SmallModel.v_VerifySomeAction"); - } - - public void v_VerifySomeOtherAction() - { - Console.WriteLine ("SmallModel.v_VerifySomeOtherAction"); - } - - public void e_FirstAction() - { - Console.WriteLine ("SmallModel.e_FirstAction"); - } - - public void e_AnotherAction() - { - Console.WriteLine ("SmallModel.e_AnotherAction"); - } - - public void e_SomeOtherAction() - { - Console.WriteLine ("SmallModel.e_SomeOtherAction"); - } - } -} - diff --git a/c-sharp-websocket/SmallModel/SmallModel/SmallModel.csproj b/c-sharp-websocket/SmallModel/SmallModel/SmallModel.csproj deleted file mode 100644 index 223d364..0000000 --- a/c-sharp-websocket/SmallModel/SmallModel/SmallModel.csproj +++ /dev/null @@ -1,50 +0,0 @@ - - - - Debug - x86 - {43FCE714-1F0F-4D78-B267-3CCFDD63433A} - Exe - SmallModel - SmallModel - v4.5 - - - true - full - false - bin\Debug - DEBUG; - prompt - 4 - true - x86 - - - full - true - bin\Release - prompt - 4 - true - x86 - - - - - ..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll - - - ..\packages\Alchemy.2.2.1\lib\net40\Alchemy.dll - - - - - - - - - - - - \ No newline at end of file diff --git a/c-sharp-websocket/SmallModel/SmallModel/packages.config b/c-sharp-websocket/SmallModel/SmallModel/packages.config deleted file mode 100644 index aa8aa70..0000000 --- a/c-sharp-websocket/SmallModel/SmallModel/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/c-sharp-websocket/SmallModel/packages/Alchemy.2.2.1/Alchemy.2.2.1.nupkg b/c-sharp-websocket/SmallModel/packages/Alchemy.2.2.1/Alchemy.2.2.1.nupkg deleted file mode 100644 index 6006f51..0000000 Binary files a/c-sharp-websocket/SmallModel/packages/Alchemy.2.2.1/Alchemy.2.2.1.nupkg and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/packages/Alchemy.2.2.1/lib/net40/Alchemy.dll b/c-sharp-websocket/SmallModel/packages/Alchemy.2.2.1/lib/net40/Alchemy.dll deleted file mode 100755 index ea797af..0000000 Binary files a/c-sharp-websocket/SmallModel/packages/Alchemy.2.2.1/lib/net40/Alchemy.dll and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/Newtonsoft.Json.6.0.8.nupkg b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/Newtonsoft.Json.6.0.8.nupkg deleted file mode 100644 index e95393d..0000000 Binary files a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/Newtonsoft.Json.6.0.8.nupkg and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.dll b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.dll deleted file mode 100644 index 475e312..0000000 Binary files a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.xml b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.xml deleted file mode 100644 index 3185fae..0000000 --- a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.xml +++ /dev/null @@ -1,9327 +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. - - - - 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. - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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 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 binary value to and from a base 64 string value. - - - - - 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. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - 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 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 . - - - - - 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 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 . - - - - - 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. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - 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. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - 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 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. - - - - - 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. - - - - 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 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. - - - - 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. - - - - 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. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - 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. - - - - 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). - - - - 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. - - - - - Provides a set of static (Shared in Visual Basic) methods for - querying objects that implement . - - - - - Returns the input typed as . - - - - - Returns an empty that has the - specified type argument. - - - - - Converts the elements of an to the - specified type. - - - - - Filters the elements of an based on a specified type. - - - - - 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. - - - - Generates a sequence that contains one repeated value. - - - - - Filters a sequence of values based on a predicate. - - - - - Filters a sequence of values based on a predicate. - Each element's index is used in the logic of the predicate function. - - - - - Projects each element of a sequence into a new form. - - - - - Projects each element of a sequence into a new form by - incorporating the element's index. - - - - - Projects each element of a sequence to an - and flattens the resulting sequences into one sequence. - - - - - 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. - - - - - 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. - - - - - 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. - - - - - Returns elements from a sequence as long as a specified condition is true. - - - - - 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. - - - - - Base implementation of First operator. - - - - - Returns the first element of a sequence. - - - - - Returns the first element in a sequence that satisfies a specified condition. - - - - - Returns the first element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the first element of the sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Last operator. - - - - - Returns the last element of a sequence. - - - - - Returns the last element of a sequence that satisfies a - specified condition. - - - - - Returns the last element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the last element of a sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Single operator. - - - - - Returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition, and throws an exception if more than one - such element exists. - - - - - 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. - - - - - 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. - - - - - Returns the element at a specified index in a sequence. - - - - - Returns the element at a specified index in a sequence or a - default value if the index is out of range. - - - - - Inverts the order of the elements in a sequence. - - - - - Returns a specified number of contiguous elements from the start - of a sequence. - - - - - Bypasses a specified number of elements in a sequence and then - returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. - - - - - 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. - - - - - Returns the number of elements in a sequence. - - - - - Returns a number that represents how many elements in the - specified sequence satisfy a condition. - - - - - Returns an that represents the total number - of elements in a sequence. - - - - - Returns an that represents how many elements - in a sequence satisfy a condition. - - - - - Concatenates two sequences. - - - - - Creates a from an . - - - - - Creates an array from an . - - - - - Returns distinct elements from a sequence by using the default - equality comparer to compare values. - - - - - Returns distinct elements from a sequence by using a specified - to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and a key comparer. - - - - - Creates a from an - according to specified key - and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer and an element selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function and compares the keys by using a specified - comparer. - - - - - 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. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. - - - - - 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. - - - - - 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. - - - - - 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. - - - - - 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. - - - - - Applies an accumulator function over a sequence. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value. - - - - - 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. - - - - - Produces the set union of two sequences by using the default - equality comparer. - - - - - Produces the set union of two sequences by using a specified - . - - - - - Returns the elements of the specified sequence or the type - parameter's default value in a singleton collection if the - sequence is empty. - - - - - Returns the elements of the specified sequence or the specified - value in a singleton collection if the sequence is empty. - - - - - Determines whether all elements of a sequence satisfy a condition. - - - - - Determines whether a sequence contains any elements. - - - - - Determines whether any element of a sequence satisfies a - condition. - - - - - Determines whether a sequence contains a specified element by - using the default equality comparer. - - - - - Determines whether a sequence contains a specified element by - using a specified . - - - - - Determines whether two sequences are equal by comparing the - elements by using the default equality comparer for their type. - - - - - Determines whether two sequences are equal by comparing their - elements by using a specified . - - - - - Base implementation for Min/Max operator. - - - - - Base implementation for Min/Max operator for nullable types. - - - - - Returns the minimum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the minimum resulting value. - - - - - Returns the maximum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the maximum resulting value. - - - - - Makes an enumerator seen as enumerable once more. - - - 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. - - - - - Sorts the elements of a sequence in ascending order by using a - specified comparer. - - - - - Sorts the elements of a sequence in descending order according to a key. - - - - - Sorts the elements of a sequence in descending order by using a - specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order by using a specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order, according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order by using a specified comparer. - - - - - Base implementation for Intersect and Except operators. - - - - - Produces the set intersection of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set intersection of two sequences by using the - specified to compare values. - - - - - Produces the set difference of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set difference of two sequences by using the - specified to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and key comparer. - - - - - Creates a from an - according to specified key - selector and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer, and an element selector function. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. - - - - - 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. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. - - - - - 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. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Represents a collection of objects that have a common key. - - - - - Gets the key of the . - - - - - Defines an indexer, size property, and Boolean search method for - data structures that map keys to - sequences of values. - - - - - Represents a sorted sequence. - - - - - Performs a subsequent ordering on the elements of an - according to a key. - - - - - Represents a collection of keys each mapped to one or more values. - - - - - Determines whether a specified key is in the . - - - - - Applies a transform function to each key and its associated - values and returns the results. - - - - - Returns a generic enumerator that iterates through the . - - - - - Gets the number of key/value collection pairs in the . - - - - - Gets the collection of values indexed by the specified key. - - - - - 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 . - - - - - 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. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Represents an abstract JSON token. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - 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 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 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 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 . - - - - 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. - - - - 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 . - - - - 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. - - - - 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. - - - - 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. - - - - - 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. - - - - 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. - - - - - Instructs the how to serialize the collection. - - - - - 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. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - 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. - - - - - 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 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. - - - 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. - - - - 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. - - - - 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 how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - 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 XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - 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. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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 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. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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 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. - - - - 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 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. - - - - Represents a collection of . - - - - - 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. - - 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 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. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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 exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Represents a token that can contain other tokens. - - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - 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 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. - - - - - 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. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - 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 array. - - - - - - - - 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 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. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - 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. - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - 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. - - - - 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. - - - - - 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. - - - - 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. - - - - 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 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. - - - - 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. - - - - 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 . - - - - - 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 improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - 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. - - - - - 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. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - 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. - - - - - 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. - - - - 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. - - - - Contract details for a used by the . - - - - - 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. - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - 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. - - - - 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 for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be 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. - - - - 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - 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. - - - - 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. - - - - 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. - - - - - 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. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - 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 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. - - - - - 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. - - - - - 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. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.dll b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.dll deleted file mode 100644 index 0a61735..0000000 Binary files a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.xml b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.xml deleted file mode 100644 index f78b757..0000000 --- a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.xml +++ /dev/null @@ -1,8470 +0,0 @@ - - - - Newtonsoft.Json - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - 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. - - - - Converts a binary value to and from a base 64 string value. - - - - - 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. - - - - - 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. - - - - - 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 an Entity Framework EntityKey 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. - - - - - 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 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. - - - - 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 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 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 . - - - - - 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. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - 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. - - - - - 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. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - 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 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. - - - - - 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. - - - - 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 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. - - - - 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. - - - - 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. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - 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. - - - - 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). - - - - 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. - - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Represents an abstract JSON token. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - 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 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 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 . - - - - 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. - - - - 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 . - - - - 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. - - - - 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. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - 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. - - - - 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. - - - - 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. - - - - 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. - - - - - Instructs the how to serialize the collection. - - - - - 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. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - 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. - - - - - 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 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. - - - - 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. - - - - 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 how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - 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 XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - 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). - - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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. - - - - - 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. - - - - 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 path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - 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. - - - - 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 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. - - - - Represents a collection of . - - - - - 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. - 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 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. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - . - - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Represents a token that can contain other tokens. - - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - 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 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. - - - - - 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. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - 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 array. - - - - - - - - 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 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 at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - 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 at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - 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. - - - - 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. - - - - - 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. - - - - 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. - - - - 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 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. - - - - 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. - - - - 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 . - - - - - 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 improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - 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. - - - - - 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. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - 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. - - - - - 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. - - - - Contract details for a used by the . - - - - - 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. - - - - 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 for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be 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. - - - - 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - 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. - - - - 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. - - - - 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. - - - - - 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. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies 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. - - - - - 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. - - - - - 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. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.dll b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.dll deleted file mode 100644 index 55d537f..0000000 Binary files a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.xml b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.xml deleted file mode 100644 index e8a5ade..0000000 --- a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.xml +++ /dev/null @@ -1,8777 +0,0 @@ - - - - Newtonsoft.Json - - - - - 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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - 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. - - - - Converts a binary value to and from a base 64 string value. - - - - - 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. - - - - - 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. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from 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 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. - - - - 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 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 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 . - - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how dates are formatted when writing JSON text. - - - - - 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 formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - 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. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - 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 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. - - - - - 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. - - - - 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. - - - - - 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. - - - - 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. - - - - 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. - - - - 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. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - 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. - - - - 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). - - - - 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. - - - - - Represents a raw JSON string. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Represents an abstract JSON token. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - 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 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 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. - - - - 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. - - - - 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 . - - - - 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. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - 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. - - - - 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. - - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - 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 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. - - - - - 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. - - - - 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. - - - - - Instructs the how to serialize the collection. - - - - - 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. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - 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. - - - - - 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 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. - - - - 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. - - - - 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 how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - 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 XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - 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). - - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - 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. - - - - - 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. - - - - 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 path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - 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. - - - - 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 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. - - - - Represents a collection of . - - - - - 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. - 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 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - 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. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - 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. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - . - - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - 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. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Represents a token that can contain other 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. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - 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. - - - - 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 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. - - - - - 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. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - 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 array. - - - - - - - - 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 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 at the reader's current position. - - - - - Gets the path of the current JSON token. - - - - - 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 at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - 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. - - - - 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. - - - - - 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. - - - - 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. - - - - 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 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. - - - - 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. - - - - 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 . - - - - - 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 improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - 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. - - - - - 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. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - 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. - - - - Contract details for a used by the . - - - - - 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. - - - - 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 for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be 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. - - - - 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 reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - 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. - - - - 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. - - - - 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. - - - - - 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. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - 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 - - - - - Represents a method that constructs an object. - - The object type to create. - - - - 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. - - - - - 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. - - - - - 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. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - 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. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.dll b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.dll deleted file mode 100644 index 71fd69e..0000000 Binary files a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.xml b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.xml deleted file mode 100644 index 687c277..0000000 --- a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.xml +++ /dev/null @@ -1,8777 +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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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 binary value to and from a base 64 string value. - - - - - 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. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - 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 EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - 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. - - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - 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 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 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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. - 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 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - 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. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - 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. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - 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. - - 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. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - 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 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. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - . - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during Json serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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. - - - - 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 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. - - - - 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). - - - - 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. - - - - 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 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 token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - 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 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 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. - - - - 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. - - - - 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 . - - - - 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. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - 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. - - - - 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. - - - - - 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. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - 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. - - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - 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 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. - - - - - 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. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - 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. - - - - 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 at the reader's current position. - - - - - 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 at the writer's current position. - - - - - 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. - - - - 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 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 . - - - - - 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 improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - 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. - - - - - 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. - - - - - 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. - - - - 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. - - - - 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. - - - - - 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. - - - - 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. - - - - 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. - - - - 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. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - 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 for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be 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. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object 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. - - - - - 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. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies type name handling options for the . - - - - - 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. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll deleted file mode 100644 index b170d83..0000000 Binary files a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.xml b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.xml deleted file mode 100644 index c83f611..0000000 --- a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.xml +++ /dev/null @@ -1,8302 +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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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 an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - 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. - - - - - 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. - - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - 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 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 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 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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. - 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 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - 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. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - 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. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - . - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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 token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - 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 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 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. - - - - 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. - - - - 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 . - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - 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. - - - - 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. - - - - - 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. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - 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. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - 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 at the reader's current position. - - - - - 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 at the writer's current position. - - - - - 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 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 improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - 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 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. - - - - 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. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - 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. - - - - 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. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - 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 for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be 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. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - 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. - - - - - 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. - - - - 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. - - - - - 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 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. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index a3b24af..0000000 Binary files a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml deleted file mode 100644 index 416dcd6..0000000 --- a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml +++ /dev/null @@ -1,7955 +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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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. - 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 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. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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 token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - 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 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 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 . - - - - 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. - - - - 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 . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the 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. - - - - - 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 at the reader's current position. - - - - - 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 at the writer's current position. - - - - - 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 improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - 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. - - - - 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. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - 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. - - - - 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 for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be 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. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object 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. - - - - - 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. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies 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/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.dll b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.dll deleted file mode 100644 index c1ac3db..0000000 Binary files a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.dll and /dev/null differ diff --git a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.xml b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.xml deleted file mode 100644 index 1f38e1f..0000000 --- a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.xml +++ /dev/null @@ -1,8302 +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 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 . - A null value can be passed to the method for token's 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 value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - 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 an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - 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. - - - - - Converts XML to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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. - 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 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. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - 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. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - 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. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - 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. - - 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 - . - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Gets the type of the converter. - - The type of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - 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. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = 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 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 token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - 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 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 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. - - - - 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. - - - - 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 . - - - - Raises the event. - - The instance containing the event data. - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - 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. - - - - 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. - - - - - 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. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - 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. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - 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 at the reader's current position. - - - - - 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 at the writer's current position. - - - - - 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 improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - 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 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. - - - - 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. - - - - 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. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - 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. - - - - 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. - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - 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 for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be 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. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object 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. - - - - - 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. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies 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. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - 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/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/tools/install.ps1 b/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/tools/install.ps1 deleted file mode 100644 index b27cec3..0000000 --- a/c-sharp-websocket/SmallModel/packages/Newtonsoft.Json.6.0.8/tools/install.ps1 +++ /dev/null @@ -1,112 +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/install?version=" + $package.Version - $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 -{ - try - { - $pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager") - - $selection = $pmPane.TextDocument.Selection - $selection.StartOfDocument($false) - $selection.EndOfDocument($true) - - if ($selection.Text.StartsWith("Installing 'Newtonsoft.Json ")) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - catch - { - # stop potential errors from bubbling up - # worst case the splash page won't open - } -} - -# still yolo \ No newline at end of file diff --git a/c-sharp-websocket/SmallModel/packages/repositories.config b/c-sharp-websocket/SmallModel/packages/repositories.config deleted file mode 100644 index 764865d..0000000 --- a/c-sharp-websocket/SmallModel/packages/repositories.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/c-sharp-websocket/gw3-client/SmallModel.json b/c-sharp-websocket/gw3-client/SmallModel.json deleted file mode 100644 index f7ea3fa..0000000 --- a/c-sharp-websocket/gw3-client/SmallModel.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "type": "loadModel", - "model": { - "name": "Small model", - "generator": "random(edge_coverage(100))", - "vertices": [ - { - "name": "v_VerifySomeAction", - "id": "n0" - }, - { - "name": "v_VerifySomeOtherAction", - "id": "n1" - } - ], - "edges": [ - { - "name": "e_FirstAction", - "id": "e0", - "dstVertexId": "n0", - "startElement": "true", - "actions": [ - { - "action": "x=0;" - }, - { - "action": "y=0;" - } - ] - }, - { - "name": "e_AnotherAction", - "id": "e1", - "srcVertexId": "n0", - "dstVertexId": "n1", - "actions": [ - { - "action": "y+=1;" - } - ] - }, - { - "name": "e_SomeOtherAction", - "id": "e2", - "srcVertexId": "n1", - "dstVertexId": "n1", - "actions": [ - { - "action": "x+=1;" - } - ] - }, - { - "name": "e_SomeOtherAction", - "id": "e3", - "srcVertexId": "n1", - "dstVertexId": "n0", - "actions": [ - { - "action": "y+=1;" - } - ] - } - ] - } -} diff --git a/c-sharp-websocket/gw3-client/gw3-client.sln b/c-sharp-websocket/gw3-client/gw3-client.sln deleted file mode 100644 index 5c53821..0000000 --- a/c-sharp-websocket/gw3-client/gw3-client.sln +++ /dev/null @@ -1,17 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gw3-client", "gw3-client\gw3-client.csproj", "{FCE6FF58-8220-4CB6-9B48-6464E3EEDA38}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x86 = Debug|x86 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FCE6FF58-8220-4CB6-9B48-6464E3EEDA38}.Debug|x86.ActiveCfg = Debug|x86 - {FCE6FF58-8220-4CB6-9B48-6464E3EEDA38}.Debug|x86.Build.0 = Debug|x86 - {FCE6FF58-8220-4CB6-9B48-6464E3EEDA38}.Release|x86.ActiveCfg = Release|x86 - {FCE6FF58-8220-4CB6-9B48-6464E3EEDA38}.Release|x86.Build.0 = Release|x86 - EndGlobalSection -EndGlobal diff --git a/c-sharp-websocket/gw3-client/gw3-client/MainWindow.cs b/c-sharp-websocket/gw3-client/gw3-client/MainWindow.cs deleted file mode 100644 index 3b14a14..0000000 --- a/c-sharp-websocket/gw3-client/gw3-client/MainWindow.cs +++ /dev/null @@ -1,110 +0,0 @@ -using System; -using Gtk; -using Alchemy; -using Alchemy.Classes; - -public partial class MainWindow: Gtk.Window -{ - WebSocketClient ws = null; - - public MainWindow () : base (Gtk.WindowType.Toplevel) - { - Build (); - host.Text = "ws://localhost:8887/"; - } - - protected void OnDeleteEvent (object sender, DeleteEventArgs a) - { - ws.Disconnect (); - Application.Quit (); - a.RetVal = true; - } - - protected void onConnectToggled (object sender, EventArgs e) - { - ToggleButton connectBtn = sender as ToggleButton; - if (connectBtn.Active) { - if (createSocket ()) { - enableWidgets (true); - ws.Connect (); - connectBtn.Label = "Connected"; - } else { - connectBtn.Active = false; - } - } else { - enableWidgets (false); - if (ws != null) { - ws.Disconnect (); - } - connectBtn.Label = "Connect"; - } - } - - protected void enableWidgets (bool enable) - { - modelFilePicker.Sensitive = enable; - getNext.Sensitive = enable; - hasNext.Sensitive = enable; - getData.Sensitive = enable; - } - - protected void logText (string text) - { - Gtk.Application.Invoke (delegate { - TextIter mIter = log.Buffer.EndIter; - log.Buffer.Insert (ref mIter, text); - log.Buffer.Insert (ref mIter, System.Environment.NewLine); - log.ScrollToIter (log.Buffer.EndIter, 0, false, 0, 0); - }); - } - - protected bool createSocket () - { - if (string.IsNullOrEmpty (host.Text)) { - logText ("No host name"); - return false; - } - try { - ws = new WebSocketClient (host.Text) { - OnReceive = OnReceive, - OnDisconnect = OnDisconnect - }; - return true; - } catch (System.Exception e) { - logText ("Not a valid host name: " + e.Message); - return false; - } - } - - void OnReceive (UserContext context) - { - logText (context.DataFrame.ToString ()); - } - - void OnDisconnect (UserContext context) - { - logText (context.DataFrame.ToString ()); - } - - protected void onGetNext (object sender, EventArgs e) - { - ws.Send ("{\"command\":\"getNext\"}"); - } - - protected void OnHasNext (object sender, EventArgs e) - { - ws.Send ("{\"command\":\"hasNext\"}"); - } - - protected void OnGetData (object sender, EventArgs e) - { - ws.Send ("{\"command\":\"getData\"}"); - } - - protected void OnModelSelectionChanged (object sender, EventArgs e) - { - ws.Send ( "{\"command\":\"start\", \"gw3\": { \"models\":[" + - System.IO.File.ReadAllText (modelFilePicker.Filename) + - "]}}" ); - } -} diff --git a/c-sharp-websocket/gw3-client/gw3-client/Program.cs b/c-sharp-websocket/gw3-client/gw3-client/Program.cs deleted file mode 100644 index 91b75ee..0000000 --- a/c-sharp-websocket/gw3-client/gw3-client/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using Gtk; - -namespace bar -{ - class MainClass - { - public static void Main (string[] args) - { - Application.Init (); - MainWindow win = new MainWindow (); - win.Show (); - Application.Run (); - } - } -} diff --git a/c-sharp-websocket/gw3-client/gw3-client/Properties/AssemblyInfo.cs b/c-sharp-websocket/gw3-client/gw3-client/Properties/AssemblyInfo.cs deleted file mode 100644 index e9a21ef..0000000 --- a/c-sharp-websocket/gw3-client/gw3-client/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. - -[assembly: AssemblyTitle ("gw3-client")] -[assembly: AssemblyDescription ("")] -[assembly: AssemblyConfiguration ("")] -[assembly: AssemblyCompany ("")] -[assembly: AssemblyProduct ("")] -[assembly: AssemblyCopyright ("krikar")] -[assembly: AssemblyTrademark ("")] -[assembly: AssemblyCulture ("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion ("1.0.*")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - diff --git a/c-sharp-websocket/gw3-client/gw3-client/gtk-gui/MainWindow.cs b/c-sharp-websocket/gw3-client/gw3-client/gtk-gui/MainWindow.cs deleted file mode 100644 index a625ad2..0000000 --- a/c-sharp-websocket/gw3-client/gw3-client/gtk-gui/MainWindow.cs +++ /dev/null @@ -1,177 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. - -public partial class MainWindow -{ - private global::Gtk.VBox vbox1; - - private global::Gtk.HBox hbox2; - - private global::Gtk.VBox vbox4; - - private global::Gtk.Label location; - - private global::Gtk.Entry host; - - private global::Gtk.ToggleButton connect; - - private global::Gtk.Label label2; - - private global::Gtk.FileChooserButton modelFilePicker; - - private global::Gtk.Button getNext; - - private global::Gtk.Button hasNext; - - private global::Gtk.Button getData; - - private global::Gtk.ScrolledWindow GtkScrolledWindow; - - private global::Gtk.TextView log; - - protected virtual void Build () - { - global::Stetic.Gui.Initialize (this); - // Widget MainWindow - this.Name = "MainWindow"; - this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); - this.WindowPosition = ((global::Gtk.WindowPosition)(4)); - // Container child MainWindow.Gtk.Container+ContainerChild - this.vbox1 = new global::Gtk.VBox (); - this.vbox1.Name = "vbox1"; - this.vbox1.Spacing = 6; - // Container child vbox1.Gtk.Box+BoxChild - this.hbox2 = new global::Gtk.HBox (); - this.hbox2.Name = "hbox2"; - this.hbox2.Spacing = 6; - // Container child hbox2.Gtk.Box+BoxChild - this.vbox4 = new global::Gtk.VBox (); - this.vbox4.Name = "vbox4"; - this.vbox4.Spacing = 6; - // Container child vbox4.Gtk.Box+BoxChild - this.location = new global::Gtk.Label (); - this.location.Name = "location"; - this.location.Xalign = 0F; - this.location.LabelProp = global::Mono.Unix.Catalog.GetString ("Loaction:"); - this.vbox4.Add (this.location); - global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.location])); - w1.Position = 0; - w1.Expand = false; - w1.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.host = new global::Gtk.Entry (); - this.host.CanFocus = true; - this.host.Name = "host"; - this.host.IsEditable = true; - this.host.InvisibleChar = '•'; - this.vbox4.Add (this.host); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.host])); - w2.Position = 1; - w2.Expand = false; - w2.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.connect = new global::Gtk.ToggleButton (); - this.connect.CanFocus = true; - this.connect.Name = "connect"; - this.connect.UseUnderline = true; - this.connect.Label = global::Mono.Unix.Catalog.GetString ("Connect"); - this.vbox4.Add (this.connect); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.connect])); - w3.Position = 2; - w3.Expand = false; - w3.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.label2 = new global::Gtk.Label (); - this.label2.Name = "label2"; - this.label2.Xalign = 0F; - this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Model file"); - this.vbox4.Add (this.label2); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label2])); - w4.Position = 3; - w4.Expand = false; - w4.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.modelFilePicker = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select a File"), ((global::Gtk.FileChooserAction)(0))); - this.modelFilePicker.Sensitive = false; - this.modelFilePicker.Name = "modelFilePicker"; - this.vbox4.Add (this.modelFilePicker); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.modelFilePicker])); - w5.Position = 4; - w5.Expand = false; - w5.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.getNext = new global::Gtk.Button (); - this.getNext.Sensitive = false; - this.getNext.CanFocus = true; - this.getNext.Name = "getNext"; - this.getNext.UseUnderline = true; - this.getNext.Label = global::Mono.Unix.Catalog.GetString ("getNext"); - this.vbox4.Add (this.getNext); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.getNext])); - w6.Position = 5; - w6.Expand = false; - w6.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.hasNext = new global::Gtk.Button (); - this.hasNext.Sensitive = false; - this.hasNext.CanFocus = true; - this.hasNext.Name = "hasNext"; - this.hasNext.UseUnderline = true; - this.hasNext.Label = global::Mono.Unix.Catalog.GetString ("hasNext"); - this.vbox4.Add (this.hasNext); - global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hasNext])); - w7.Position = 6; - w7.Expand = false; - w7.Fill = false; - // Container child vbox4.Gtk.Box+BoxChild - this.getData = new global::Gtk.Button (); - this.getData.Sensitive = false; - this.getData.CanFocus = true; - this.getData.Name = "getData"; - this.getData.UseUnderline = true; - this.getData.Label = global::Mono.Unix.Catalog.GetString ("getData"); - this.vbox4.Add (this.getData); - global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.getData])); - w8.Position = 7; - w8.Expand = false; - w8.Fill = false; - this.hbox2.Add (this.vbox4); - global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox4])); - w9.Position = 0; - w9.Expand = false; - w9.Fill = false; - // Container child hbox2.Gtk.Box+BoxChild - this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); - this.GtkScrolledWindow.Name = "GtkScrolledWindow"; - this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); - // Container child GtkScrolledWindow.Gtk.Container+ContainerChild - this.log = new global::Gtk.TextView (); - this.log.CanFocus = true; - this.log.Name = "log"; - this.log.Editable = false; - this.log.CursorVisible = false; - this.log.AcceptsTab = false; - this.GtkScrolledWindow.Add (this.log); - this.hbox2.Add (this.GtkScrolledWindow); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow])); - w11.Position = 1; - this.vbox1.Add (this.hbox2); - global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); - w12.Position = 0; - w12.Expand = false; - w12.Fill = false; - this.Add (this.vbox1); - if ((this.Child != null)) { - this.Child.ShowAll (); - } - this.DefaultWidth = 513; - this.DefaultHeight = 290; - this.Show (); - this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); - this.connect.Toggled += new global::System.EventHandler (this.onConnectToggled); - this.modelFilePicker.SelectionChanged += new global::System.EventHandler (this.OnModelSelectionChanged); - this.getNext.Clicked += new global::System.EventHandler (this.onGetNext); - this.hasNext.Clicked += new global::System.EventHandler (this.OnHasNext); - this.getData.Clicked += new global::System.EventHandler (this.OnGetData); - } -} diff --git a/c-sharp-websocket/gw3-client/gw3-client/gtk-gui/generated.cs b/c-sharp-websocket/gw3-client/gw3-client/gtk-gui/generated.cs deleted file mode 100644 index 9ef3363..0000000 --- a/c-sharp-websocket/gw3-client/gw3-client/gtk-gui/generated.cs +++ /dev/null @@ -1,29 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. -namespace Stetic -{ - internal class Gui - { - private static bool initialized; - - internal static void Initialize (Gtk.Widget iconRenderer) - { - if ((Stetic.Gui.initialized == false)) { - Stetic.Gui.initialized = true; - } - } - } - - internal class ActionGroups - { - public static Gtk.ActionGroup GetActionGroup (System.Type type) - { - return Stetic.ActionGroups.GetActionGroup (type.FullName); - } - - public static Gtk.ActionGroup GetActionGroup (string name) - { - return null; - } - } -} diff --git a/c-sharp-websocket/gw3-client/gw3-client/gtk-gui/gui.stetic b/c-sharp-websocket/gw3-client/gw3-client/gtk-gui/gui.stetic deleted file mode 100644 index 1c25b9e..0000000 --- a/c-sharp-websocket/gw3-client/gw3-client/gtk-gui/gui.stetic +++ /dev/null @@ -1,188 +0,0 @@ - - - - .. - 2.12 - - - - - - - - MainWindow - CenterOnParent - - - - - 6 - - - - 6 - - - - 6 - - - - 0 - Loaction: - - - 0 - True - False - False - - - - - - True - True - - - - 1 - True - False - False - - - - - - True - TextOnly - Connect - True - - - - 2 - True - False - False - - - - - - 0 - Model file - - - 3 - True - False - False - - - - - - False - - - - 4 - True - False - False - - - - - - False - True - TextOnly - getNext - True - - - - 5 - True - False - False - - - - - - False - True - TextOnly - hasNext - True - - - - 6 - True - False - False - - - - - - False - True - TextOnly - getData - True - - - - 7 - True - False - False - - - - - 0 - True - False - False - - - - - - In - - - - True - True - False - False - False - - - - - - 1 - False - - - - - 0 - True - False - False - - - - - - \ No newline at end of file diff --git a/c-sharp-websocket/gw3-client/gw3-client/gw3-client.csproj b/c-sharp-websocket/gw3-client/gw3-client/gw3-client.csproj deleted file mode 100644 index 8fda47b..0000000 --- a/c-sharp-websocket/gw3-client/gw3-client/gw3-client.csproj +++ /dev/null @@ -1,79 +0,0 @@ - - - - Debug - x86 - {FCE6FF58-8220-4CB6-9B48-6464E3EEDA38} - WinExe - gw3-client - gw3-client - v4.5 - - - true - full - false - bin\Debug - DEBUG; - prompt - 4 - false - x86 - - - full - true - bin\Release - prompt - 4 - false - x86 - - - - - False - gtk-sharp-2.0 - - - False - gtk-sharp-2.0 - - - False - glib-sharp-2.0 - - - False - glade-sharp-2.0 - - - False - gtk-sharp-2.0 - - - False - gtk-sharp-2.0 - - - - ..\packages\Alchemy.2.2.1\lib\net40\Alchemy.dll - - - - - gui.stetic - - - - - - - - - - - - - - \ No newline at end of file diff --git a/c-sharp-websocket/gw3-client/gw3-client/packages.config b/c-sharp-websocket/gw3-client/gw3-client/packages.config deleted file mode 100644 index bd6b956..0000000 --- a/c-sharp-websocket/gw3-client/gw3-client/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/c-sharp-websocket/gw3-client/packages/Alchemy.2.2.1/Alchemy.2.2.1.nupkg b/c-sharp-websocket/gw3-client/packages/Alchemy.2.2.1/Alchemy.2.2.1.nupkg deleted file mode 100644 index 6006f51..0000000 Binary files a/c-sharp-websocket/gw3-client/packages/Alchemy.2.2.1/Alchemy.2.2.1.nupkg and /dev/null differ diff --git a/c-sharp-websocket/gw3-client/packages/Alchemy.2.2.1/lib/net40/Alchemy.dll b/c-sharp-websocket/gw3-client/packages/Alchemy.2.2.1/lib/net40/Alchemy.dll deleted file mode 100644 index 6326d32..0000000 Binary files a/c-sharp-websocket/gw3-client/packages/Alchemy.2.2.1/lib/net40/Alchemy.dll and /dev/null differ diff --git a/c-sharp-websocket/gw3-client/packages/repositories.config b/c-sharp-websocket/gw3-client/packages/repositories.config deleted file mode 100644 index 540ec5e..0000000 --- a/c-sharp-websocket/gw3-client/packages/repositories.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/command-line-scripts/run-RESTFUL-Test.bash b/command-line-scripts/run-RESTFUL-Test.bash deleted file mode 100644 index 5e041dd..0000000 --- a/command-line-scripts/run-RESTFUL-Test.bash +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/bash -# -# How to test this script: -# ======================== -# -# Run this script: -# bash run-RESTFUL-Test.bash -# -# The script will download the graphwalker jar and and example model -# to the current folder and execute that using the RESTFUL service. -# -# - - - -# Check if dependecy command exists -command -v curl >/dev/null 2>&1 || { echo >&2 "Script requires curl but it's not installed. Aborting."; exit 1; } -command -v java >/dev/null 2>&1 || { echo >&2 "Script requires java but it's not installed. Aborting."; exit 1; } -command -v wget >/dev/null 2>&1 || { echo >&2 "Script requires wget but it's not installed. Aborting."; exit 1; } -command -v jq >/dev/null 2>&1 || { echo >&2 "Script requires jq but it's not installed. Aborting."; exit 1; } - - - -# Run if control-c -control_c() -{ - echo -en "\n*** Caught ctrl+c! Exiting ***\n" - kill $PID - exit $? -} - -# trap keyboard interrupt (control-c) -trap control_c SIGINT - - -# Get the latest graphwalker jar -VERSION=4.3.0 -GW_JAR=graphwalker-cli-$VERSION.jar -if [ ! -f $GW_JAR ] -then - wget https://github.com/GraphWalker/graphwalker-project/releases/download/$VERSION/$GW_JAR -fi - - - -# Launch graphwalker, and redirect stderr and stdout to gw.log -java -jar $GW_JAR -d all online --service RESTFUL > gw.log 2>&1 & -PID=$! - -# Wait until graphwalker has started -sh -c 'tail -n +0 --pid=$$ -f gw.log | { sed "/Press Control/ q" && kill $$ ;}' -echo "GraphWalker REST started" - -# Get the model file -GW_MODEL=PetClinic.json -if [ ! -f $GW_MODEL ] -then - wget https://raw.githubusercontent.com/GraphWalker/graphwalker-example/master/java-petclinic/src/main/resources/com/company/$GW_MODEL -fi - -# Upload model file to service -RESULT=$(curl -s -H "Content-Type: text/plain;charset=UTF-8" -X POST -d @$GW_MODEL http://localhost:8887/graphwalker/load | jq -r .result) - -# Check result -if [[ $RESULT != "ok" ]] -then - kill $PID - exit -fi - -# While the model is not exhausted -while [[ $(curl -s http://localhost:8887/graphwalker/hasNext | jq -r .hasNext) == "true" ]] -do - # Get the next element to execute - GETNEXT=$(curl -s http://localhost:8887/graphwalker/getNext | jq -r .currentElementName) - echo "Will exectute: $GETNEXT" - - # Get the data in the model,if any - DATA=$(curl -s http://localhost:8887/graphwalker/getData | jq -r .data) - echo "Current state of data: $DATA" -done - -kill $PID diff --git a/html-websocket/README.md b/html-websocket/README.md deleted file mode 100644 index b60f354..0000000 --- a/html-websocket/README.md +++ /dev/null @@ -1,178 +0,0 @@ -HTML javascript example -=================== - -## How to run the example - -Start the graphwalker-cli standalone jar. Download it from [here](http://graphwalker.org/archive/graphwalker-3.2.0.jar) -~~~sh -%> java -jar graphwalker-3.2.0.jar online -p 8887 -~~~ - -Download the content of the folder -~~~ -gw3-client.html -prototype.js -~~~ -to some local folder. - -* Load the **gw3-client.html** into your web browser. -* Type **ws://localhost:8887** and click the **Connect** button. - -### Requests sent to the server -#### Load a model -GraphWalker needs at least 1 model. The first model sent, will be the model where the execution starts. More than one model can be sent. The request also needs a payload, which is the model, as a di-graph in JSON notation. - -Client request -~~~json -{ - "type": "loadModel", - "model": { - "name": "Small model", - "generator": "random(edge_coverage(100))", - "vertices": [ - { - "name": "v_VerifySomeAction", - "id": "n0" - }, - { - "name": "v_VerifySomeOtherAction", - "id": "n1" - } - ], - "edges": [ - { - "name": "e_FirstAction", - "id": "e0", - "dstVertexId": "n0", - "startElement": "true" - }, - { - "name": "e_AnotherAction", - "id": "e1", - "srcVertexId": "n0", - "dstVertexId": "n1" - }, - { - "name": "e_SomeOtherAction", - "id": "e2", - "srcVertexId": "n1", - "dstVertexId": "n1" - }, - { - "name": "e_SomeOtherAction", - "id": "e3", - "srcVertexId": "n1", - "dstVertexId": "n0" - } - ] - } -} -~~~ -Server response -~~~json -{ - "type": "loadModel", - "success": boolean, - "msg": "If success is false, an message will returned" -} -~~~ - -All fileds are mandatory, with 2 exceptions. -* ***startElement*** points out at which element (edge or vertex) the execution should start. This is mandatory, but only for ***one*** of the elements, and only for the ***first*** model. - -#### Start -Sets GraphWalker in a ready state. No more models can be loaded. - -Client request -~~~json -{ - "type": "start" -} -~~~ -Server response -~~~json -{ - "type": "start", - "success": boolean, - "msg": "If success is false, a message will returned", -} -~~~ - -#### Get next step -Asks GraphWalker to execute one step in the execution. The name and id of the next step will be returned. - -Client request -~~~json -{ - "type": "getNext" -} -~~~ -Server response -~~~json -{ - "type": "getNext", - "id": "Element id", - "name": "Element name" - "success": boolean, - "msg": "If success is false, a message will returned", -} -~~~ - -#### Has next step -Asks GraphWalker if all stop conditons for all model(s) have been fullfiled. As long as there are steps to execute, true will be returned. - -Client request -~~~json -{ - "type": "hasNext" -} -~~~ -Server response -~~~json -{ - "type": "hasNext", - "hasNext": boolean, - "success": boolean, - "msg": "If success is false, a message will returned" -} -~~~ - -#### Get data -Asks GraphWalker to return the key andn values of any data from the model - -Client request -~~~json -{ - "type": "getData" -} -~~~ -Server response -~~~json -{ - "type": "getData", - "success": boolean, - "msg": "If success is false, a message will returned", - "data": { - : - : - } -} -~~~ - -#### Restart -Stops any execution, clearsall data and set GraphWalker in the inital state. - -Client request -~~~json -{ - "type": "restart" -} -~~~ -Server response -~~~json -{ - "type": "restart", - "success": boolean, - "msg": "If success is false, a message will returned" -} -~~~ diff --git a/html-websocket/gw3-client.html b/html-websocket/gw3-client.html deleted file mode 100644 index 4f0aa5e..0000000 --- a/html-websocket/gw3-client.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - GraphWalker 3 WebSocket Client - - - - - - - -

-

-

- - diff --git a/html-websocket/prototype.js b/html-websocket/prototype.js deleted file mode 100644 index 9fe6e12..0000000 --- a/html-websocket/prototype.js +++ /dev/null @@ -1,4874 +0,0 @@ -/* Prototype JavaScript framework, version 1.6.1 - * (c) 2005-2009 Sam Stephenson - * - * Prototype is freely distributable under the terms of an MIT-style license. - * For details, see the Prototype web site: http://www.prototypejs.org/ - * - *--------------------------------------------------------------------------*/ - -var Prototype = { - Version: '1.6.1', - - Browser: (function(){ - var ua = navigator.userAgent; - var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]'; - return { - IE: !!window.attachEvent && !isOpera, - Opera: isOpera, - WebKit: ua.indexOf('AppleWebKit/') > -1, - Gecko: ua.indexOf('Gecko') > -1 && ua.indexOf('KHTML') === -1, - MobileSafari: /Apple.*Mobile.*Safari/.test(ua) - } - })(), - - BrowserFeatures: { - XPath: !!document.evaluate, - SelectorsAPI: !!document.querySelector, - ElementExtensions: (function() { - var constructor = window.Element || window.HTMLElement; - return !!(constructor && constructor.prototype); - })(), - SpecificElementExtensions: (function() { - if (typeof window.HTMLDivElement !== 'undefined') - return true; - - var div = document.createElement('div'); - var form = document.createElement('form'); - var isSupported = false; - - if (div['__proto__'] && (div['__proto__'] !== form['__proto__'])) { - isSupported = true; - } - - div = form = null; - - return isSupported; - })() - }, - - ScriptFragment: ']*>([\\S\\s]*?)<\/script>', - JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/, - - emptyFunction: function() { }, - K: function(x) { return x } -}; - -if (Prototype.Browser.MobileSafari) - Prototype.BrowserFeatures.SpecificElementExtensions = false; - - -var Abstract = { }; - - -var Try = { - these: function() { - var returnValue; - - for (var i = 0, length = arguments.length; i < length; i++) { - var lambda = arguments[i]; - try { - returnValue = lambda(); - break; - } catch (e) { } - } - - return returnValue; - } -}; - -/* Based on Alex Arnell's inheritance implementation. */ - -var Class = (function() { - function subclass() {}; - function create() { - var parent = null, properties = $A(arguments); - if (Object.isFunction(properties[0])) - parent = properties.shift(); - - function klass() { - this.initialize.apply(this, arguments); - } - - Object.extend(klass, Class.Methods); - klass.superclass = parent; - klass.subclasses = []; - - if (parent) { - subclass.prototype = parent.prototype; - klass.prototype = new subclass; - parent.subclasses.push(klass); - } - - for (var i = 0; i < properties.length; i++) - klass.addMethods(properties[i]); - - if (!klass.prototype.initialize) - klass.prototype.initialize = Prototype.emptyFunction; - - klass.prototype.constructor = klass; - return klass; - } - - function addMethods(source) { - var ancestor = this.superclass && this.superclass.prototype; - var properties = Object.keys(source); - - if (!Object.keys({ toString: true }).length) { - if (source.toString != Object.prototype.toString) - properties.push("toString"); - if (source.valueOf != Object.prototype.valueOf) - properties.push("valueOf"); - } - - for (var i = 0, length = properties.length; i < length; i++) { - var property = properties[i], value = source[property]; - if (ancestor && Object.isFunction(value) && - value.argumentNames().first() == "$super") { - var method = value; - value = (function(m) { - return function() { return ancestor[m].apply(this, arguments); }; - })(property).wrap(method); - - value.valueOf = method.valueOf.bind(method); - value.toString = method.toString.bind(method); - } - this.prototype[property] = value; - } - - return this; - } - - return { - create: create, - Methods: { - addMethods: addMethods - } - }; -})(); -(function() { - - var _toString = Object.prototype.toString; - - function extend(destination, source) { - for (var property in source) - destination[property] = source[property]; - return destination; - } - - function inspect(object) { - try { - if (isUndefined(object)) return 'undefined'; - if (object === null) return 'null'; - return object.inspect ? object.inspect() : String(object); - } catch (e) { - if (e instanceof RangeError) return '...'; - throw e; - } - } - - function toJSON(object) { - var type = typeof object; - switch (type) { - case 'undefined': - case 'function': - case 'unknown': return; - case 'boolean': return object.toString(); - } - - if (object === null) return 'null'; - if (object.toJSON) return object.toJSON(); - if (isElement(object)) return; - - var results = []; - for (var property in object) { - var value = toJSON(object[property]); - if (!isUndefined(value)) - results.push(property.toJSON() + ': ' + value); - } - - return '{' + results.join(', ') + '}'; - } - - function toQueryString(object) { - return $H(object).toQueryString(); - } - - function toHTML(object) { - return object && object.toHTML ? object.toHTML() : String.interpret(object); - } - - function keys(object) { - var results = []; - for (var property in object) - results.push(property); - return results; - } - - function values(object) { - var results = []; - for (var property in object) - results.push(object[property]); - return results; - } - - function clone(object) { - return extend({ }, object); - } - - function isElement(object) { - return !!(object && object.nodeType == 1); - } - - function isArray(object) { - return _toString.call(object) == "[object Array]"; - } - - - function isHash(object) { - return object instanceof Hash; - } - - function isFunction(object) { - return typeof object === "function"; - } - - function isString(object) { - return _toString.call(object) == "[object String]"; - } - - function isNumber(object) { - return _toString.call(object) == "[object Number]"; - } - - function isUndefined(object) { - return typeof object === "undefined"; - } - - extend(Object, { - extend: extend, - inspect: inspect, - toJSON: toJSON, - toQueryString: toQueryString, - toHTML: toHTML, - keys: keys, - values: values, - clone: clone, - isElement: isElement, - isArray: isArray, - isHash: isHash, - isFunction: isFunction, - isString: isString, - isNumber: isNumber, - isUndefined: isUndefined - }); -})(); -Object.extend(Function.prototype, (function() { - var slice = Array.prototype.slice; - - function update(array, args) { - var arrayLength = array.length, length = args.length; - while (length--) array[arrayLength + length] = args[length]; - return array; - } - - function merge(array, args) { - array = slice.call(array, 0); - return update(array, args); - } - - function argumentNames() { - var names = this.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1] - .replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g, '') - .replace(/\s+/g, '').split(','); - return names.length == 1 && !names[0] ? [] : names; - } - - function bind(context) { - if (arguments.length < 2 && Object.isUndefined(arguments[0])) return this; - var __method = this, args = slice.call(arguments, 1); - return function() { - var a = merge(args, arguments); - return __method.apply(context, a); - } - } - - function bindAsEventListener(context) { - var __method = this, args = slice.call(arguments, 1); - return function(event) { - var a = update([event || window.event], args); - return __method.apply(context, a); - } - } - - function curry() { - if (!arguments.length) return this; - var __method = this, args = slice.call(arguments, 0); - return function() { - var a = merge(args, arguments); - return __method.apply(this, a); - } - } - - function delay(timeout) { - var __method = this, args = slice.call(arguments, 1); - timeout = timeout * 1000 - return window.setTimeout(function() { - return __method.apply(__method, args); - }, timeout); - } - - function defer() { - var args = update([0.01], arguments); - return this.delay.apply(this, args); - } - - function wrap(wrapper) { - var __method = this; - return function() { - var a = update([__method.bind(this)], arguments); - return wrapper.apply(this, a); - } - } - - function methodize() { - if (this._methodized) return this._methodized; - var __method = this; - return this._methodized = function() { - var a = update([this], arguments); - return __method.apply(null, a); - }; - } - - return { - argumentNames: argumentNames, - bind: bind, - bindAsEventListener: bindAsEventListener, - curry: curry, - delay: delay, - defer: defer, - wrap: wrap, - methodize: methodize - } -})()); - - -Date.prototype.toJSON = function() { - return '"' + this.getUTCFullYear() + '-' + - (this.getUTCMonth() + 1).toPaddedString(2) + '-' + - this.getUTCDate().toPaddedString(2) + 'T' + - this.getUTCHours().toPaddedString(2) + ':' + - this.getUTCMinutes().toPaddedString(2) + ':' + - this.getUTCSeconds().toPaddedString(2) + 'Z"'; -}; - - -RegExp.prototype.match = RegExp.prototype.test; - -RegExp.escape = function(str) { - return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); -}; -var PeriodicalExecuter = Class.create({ - initialize: function(callback, frequency) { - this.callback = callback; - this.frequency = frequency; - this.currentlyExecuting = false; - - this.registerCallback(); - }, - - registerCallback: function() { - this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); - }, - - execute: function() { - this.callback(this); - }, - - stop: function() { - if (!this.timer) return; - clearInterval(this.timer); - this.timer = null; - }, - - onTimerEvent: function() { - if (!this.currentlyExecuting) { - try { - this.currentlyExecuting = true; - this.execute(); - this.currentlyExecuting = false; - } catch(e) { - this.currentlyExecuting = false; - throw e; - } - } - } -}); -Object.extend(String, { - interpret: function(value) { - return value == null ? '' : String(value); - }, - specialChar: { - '\b': '\\b', - '\t': '\\t', - '\n': '\\n', - '\f': '\\f', - '\r': '\\r', - '\\': '\\\\' - } -}); - -Object.extend(String.prototype, (function() { - - function prepareReplacement(replacement) { - if (Object.isFunction(replacement)) return replacement; - var template = new Template(replacement); - return function(match) { return template.evaluate(match) }; - } - - function gsub(pattern, replacement) { - var result = '', source = this, match; - replacement = prepareReplacement(replacement); - - if (Object.isString(pattern)) - pattern = RegExp.escape(pattern); - - if (!(pattern.length || pattern.source)) { - replacement = replacement(''); - return replacement + source.split('').join(replacement) + replacement; - } - - while (source.length > 0) { - if (match = source.match(pattern)) { - result += source.slice(0, match.index); - result += String.interpret(replacement(match)); - source = source.slice(match.index + match[0].length); - } else { - result += source, source = ''; - } - } - return result; - } - - function sub(pattern, replacement, count) { - replacement = prepareReplacement(replacement); - count = Object.isUndefined(count) ? 1 : count; - - return this.gsub(pattern, function(match) { - if (--count < 0) return match[0]; - return replacement(match); - }); - } - - function scan(pattern, iterator) { - this.gsub(pattern, iterator); - return String(this); - } - - function truncate(length, truncation) { - length = length || 30; - truncation = Object.isUndefined(truncation) ? '...' : truncation; - return this.length > length ? - this.slice(0, length - truncation.length) + truncation : String(this); - } - - function strip() { - return this.replace(/^\s+/, '').replace(/\s+$/, ''); - } - - function stripTags() { - return this.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi, ''); - } - - function stripScripts() { - return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); - } - - function extractScripts() { - var matchAll = new RegExp(Prototype.ScriptFragment, 'img'); - var matchOne = new RegExp(Prototype.ScriptFragment, 'im'); - return (this.match(matchAll) || []).map(function(scriptTag) { - return (scriptTag.match(matchOne) || ['', ''])[1]; - }); - } - - function evalScripts() { - return this.extractScripts().map(function(script) { return eval(script) }); - } - - function escapeHTML() { - return this.replace(/&/g,'&').replace(//g,'>'); - } - - function unescapeHTML() { - return this.stripTags().replace(/</g,'<').replace(/>/g,'>').replace(/&/g,'&'); - } - - - function toQueryParams(separator) { - var match = this.strip().match(/([^?#]*)(#.*)?$/); - if (!match) return { }; - - return match[1].split(separator || '&').inject({ }, function(hash, pair) { - if ((pair = pair.split('='))[0]) { - var key = decodeURIComponent(pair.shift()); - var value = pair.length > 1 ? pair.join('=') : pair[0]; - if (value != undefined) value = decodeURIComponent(value); - - if (key in hash) { - if (!Object.isArray(hash[key])) hash[key] = [hash[key]]; - hash[key].push(value); - } - else hash[key] = value; - } - return hash; - }); - } - - function toArray() { - return this.split(''); - } - - function succ() { - return this.slice(0, this.length - 1) + - String.fromCharCode(this.charCodeAt(this.length - 1) + 1); - } - - function times(count) { - return count < 1 ? '' : new Array(count + 1).join(this); - } - - function camelize() { - var parts = this.split('-'), len = parts.length; - if (len == 1) return parts[0]; - - var camelized = this.charAt(0) == '-' - ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1) - : parts[0]; - - for (var i = 1; i < len; i++) - camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1); - - return camelized; - } - - function capitalize() { - return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase(); - } - - function underscore() { - return this.replace(/::/g, '/') - .replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2') - .replace(/([a-z\d])([A-Z])/g, '$1_$2') - .replace(/-/g, '_') - .toLowerCase(); - } - - function dasherize() { - return this.replace(/_/g, '-'); - } - - function inspect(useDoubleQuotes) { - var escapedString = this.replace(/[\x00-\x1f\\]/g, function(character) { - if (character in String.specialChar) { - return String.specialChar[character]; - } - return '\\u00' + character.charCodeAt().toPaddedString(2, 16); - }); - if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') + '"'; - return "'" + escapedString.replace(/'/g, '\\\'') + "'"; - } - - function toJSON() { - return this.inspect(true); - } - - function unfilterJSON(filter) { - return this.replace(filter || Prototype.JSONFilter, '$1'); - } - - function isJSON() { - var str = this; - if (str.blank()) return false; - str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''); - return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str); - } - - function evalJSON(sanitize) { - var json = this.unfilterJSON(); - try { - if (!sanitize || json.isJSON()) return eval('(' + json + ')'); - } catch (e) { } - throw new SyntaxError('Badly formed JSON string: ' + this.inspect()); - } - - function include(pattern) { - return this.indexOf(pattern) > -1; - } - - function startsWith(pattern) { - return this.indexOf(pattern) === 0; - } - - function endsWith(pattern) { - var d = this.length - pattern.length; - return d >= 0 && this.lastIndexOf(pattern) === d; - } - - function empty() { - return this == ''; - } - - function blank() { - return /^\s*$/.test(this); - } - - function interpolate(object, pattern) { - return new Template(this, pattern).evaluate(object); - } - - return { - gsub: gsub, - sub: sub, - scan: scan, - truncate: truncate, - strip: String.prototype.trim ? String.prototype.trim : strip, - stripTags: stripTags, - stripScripts: stripScripts, - extractScripts: extractScripts, - evalScripts: evalScripts, - escapeHTML: escapeHTML, - unescapeHTML: unescapeHTML, - toQueryParams: toQueryParams, - parseQuery: toQueryParams, - toArray: toArray, - succ: succ, - times: times, - camelize: camelize, - capitalize: capitalize, - underscore: underscore, - dasherize: dasherize, - inspect: inspect, - toJSON: toJSON, - unfilterJSON: unfilterJSON, - isJSON: isJSON, - evalJSON: evalJSON, - include: include, - startsWith: startsWith, - endsWith: endsWith, - empty: empty, - blank: blank, - interpolate: interpolate - }; -})()); - -var Template = Class.create({ - initialize: function(template, pattern) { - this.template = template.toString(); - this.pattern = pattern || Template.Pattern; - }, - - evaluate: function(object) { - if (object && Object.isFunction(object.toTemplateReplacements)) - object = object.toTemplateReplacements(); - - return this.template.gsub(this.pattern, function(match) { - if (object == null) return (match[1] + ''); - - var before = match[1] || ''; - if (before == '\\') return match[2]; - - var ctx = object, expr = match[3]; - var pattern = /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/; - match = pattern.exec(expr); - if (match == null) return before; - - while (match != null) { - var comp = match[1].startsWith('[') ? match[2].replace(/\\\\]/g, ']') : match[1]; - ctx = ctx[comp]; - if (null == ctx || '' == match[3]) break; - expr = expr.substring('[' == match[3] ? match[1].length : match[0].length); - match = pattern.exec(expr); - } - - return before + String.interpret(ctx); - }); - } -}); -Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/; - -var $break = { }; - -var Enumerable = (function() { - function each(iterator, context) { - var index = 0; - try { - this._each(function(value) { - iterator.call(context, value, index++); - }); - } catch (e) { - if (e != $break) throw e; - } - return this; - } - - function eachSlice(number, iterator, context) { - var index = -number, slices = [], array = this.toArray(); - if (number < 1) return array; - while ((index += number) < array.length) - slices.push(array.slice(index, index+number)); - return slices.collect(iterator, context); - } - - function all(iterator, context) { - iterator = iterator || Prototype.K; - var result = true; - this.each(function(value, index) { - result = result && !!iterator.call(context, value, index); - if (!result) throw $break; - }); - return result; - } - - function any(iterator, context) { - iterator = iterator || Prototype.K; - var result = false; - this.each(function(value, index) { - if (result = !!iterator.call(context, value, index)) - throw $break; - }); - return result; - } - - function collect(iterator, context) { - iterator = iterator || Prototype.K; - var results = []; - this.each(function(value, index) { - results.push(iterator.call(context, value, index)); - }); - return results; - } - - function detect(iterator, context) { - var result; - this.each(function(value, index) { - if (iterator.call(context, value, index)) { - result = value; - throw $break; - } - }); - return result; - } - - function findAll(iterator, context) { - var results = []; - this.each(function(value, index) { - if (iterator.call(context, value, index)) - results.push(value); - }); - return results; - } - - function grep(filter, iterator, context) { - iterator = iterator || Prototype.K; - var results = []; - - if (Object.isString(filter)) - filter = new RegExp(RegExp.escape(filter)); - - this.each(function(value, index) { - if (filter.match(value)) - results.push(iterator.call(context, value, index)); - }); - return results; - } - - function include(object) { - if (Object.isFunction(this.indexOf)) - if (this.indexOf(object) != -1) return true; - - var found = false; - this.each(function(value) { - if (value == object) { - found = true; - throw $break; - } - }); - return found; - } - - function inGroupsOf(number, fillWith) { - fillWith = Object.isUndefined(fillWith) ? null : fillWith; - return this.eachSlice(number, function(slice) { - while(slice.length < number) slice.push(fillWith); - return slice; - }); - } - - function inject(memo, iterator, context) { - this.each(function(value, index) { - memo = iterator.call(context, memo, value, index); - }); - return memo; - } - - function invoke(method) { - var args = $A(arguments).slice(1); - return this.map(function(value) { - return value[method].apply(value, args); - }); - } - - function max(iterator, context) { - iterator = iterator || Prototype.K; - var result; - this.each(function(value, index) { - value = iterator.call(context, value, index); - if (result == null || value >= result) - result = value; - }); - return result; - } - - function min(iterator, context) { - iterator = iterator || Prototype.K; - var result; - this.each(function(value, index) { - value = iterator.call(context, value, index); - if (result == null || value < result) - result = value; - }); - return result; - } - - function partition(iterator, context) { - iterator = iterator || Prototype.K; - var trues = [], falses = []; - this.each(function(value, index) { - (iterator.call(context, value, index) ? - trues : falses).push(value); - }); - return [trues, falses]; - } - - function pluck(property) { - var results = []; - this.each(function(value) { - results.push(value[property]); - }); - return results; - } - - function reject(iterator, context) { - var results = []; - this.each(function(value, index) { - if (!iterator.call(context, value, index)) - results.push(value); - }); - return results; - } - - function sortBy(iterator, context) { - return this.map(function(value, index) { - return { - value: value, - criteria: iterator.call(context, value, index) - }; - }).sort(function(left, right) { - var a = left.criteria, b = right.criteria; - return a < b ? -1 : a > b ? 1 : 0; - }).pluck('value'); - } - - function toArray() { - return this.map(); - } - - function zip() { - var iterator = Prototype.K, args = $A(arguments); - if (Object.isFunction(args.last())) - iterator = args.pop(); - - var collections = [this].concat(args).map($A); - return this.map(function(value, index) { - return iterator(collections.pluck(index)); - }); - } - - function size() { - return this.toArray().length; - } - - function inspect() { - return '#'; - } - - - - - - - - - - return { - each: each, - eachSlice: eachSlice, - all: all, - every: all, - any: any, - some: any, - collect: collect, - map: collect, - detect: detect, - findAll: findAll, - select: findAll, - filter: findAll, - grep: grep, - include: include, - member: include, - inGroupsOf: inGroupsOf, - inject: inject, - invoke: invoke, - max: max, - min: min, - partition: partition, - pluck: pluck, - reject: reject, - sortBy: sortBy, - toArray: toArray, - entries: toArray, - zip: zip, - size: size, - inspect: inspect, - find: detect - }; -})(); -function $A(iterable) { - if (!iterable) return []; - if ('toArray' in Object(iterable)) return iterable.toArray(); - var length = iterable.length || 0, results = new Array(length); - while (length--) results[length] = iterable[length]; - return results; -} - -function $w(string) { - if (!Object.isString(string)) return []; - string = string.strip(); - return string ? string.split(/\s+/) : []; -} - -Array.from = $A; - - -(function() { - var arrayProto = Array.prototype, - slice = arrayProto.slice, - _each = arrayProto.forEach; // use native browser JS 1.6 implementation if available - - function each(iterator) { - for (var i = 0, length = this.length; i < length; i++) - iterator(this[i]); - } - if (!_each) _each = each; - - function clear() { - this.length = 0; - return this; - } - - function first() { - return this[0]; - } - - function last() { - return this[this.length - 1]; - } - - function compact() { - return this.select(function(value) { - return value != null; - }); - } - - function flatten() { - return this.inject([], function(array, value) { - if (Object.isArray(value)) - return array.concat(value.flatten()); - array.push(value); - return array; - }); - } - - function without() { - var values = slice.call(arguments, 0); - return this.select(function(value) { - return !values.include(value); - }); - } - - function reverse(inline) { - return (inline !== false ? this : this.toArray())._reverse(); - } - - function uniq(sorted) { - return this.inject([], function(array, value, index) { - if (0 == index || (sorted ? array.last() != value : !array.include(value))) - array.push(value); - return array; - }); - } - - function intersect(array) { - return this.uniq().findAll(function(item) { - return array.detect(function(value) { return item === value }); - }); - } - - - function clone() { - return slice.call(this, 0); - } - - function size() { - return this.length; - } - - function inspect() { - return '[' + this.map(Object.inspect).join(', ') + ']'; - } - - function toJSON() { - var results = []; - this.each(function(object) { - var value = Object.toJSON(object); - if (!Object.isUndefined(value)) results.push(value); - }); - return '[' + results.join(', ') + ']'; - } - - function indexOf(item, i) { - i || (i = 0); - var length = this.length; - if (i < 0) i = length + i; - for (; i < length; i++) - if (this[i] === item) return i; - return -1; - } - - function lastIndexOf(item, i) { - i = isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1; - var n = this.slice(0, i).reverse().indexOf(item); - return (n < 0) ? n : i - n - 1; - } - - function concat() { - var array = slice.call(this, 0), item; - for (var i = 0, length = arguments.length; i < length; i++) { - item = arguments[i]; - if (Object.isArray(item) && !('callee' in item)) { - for (var j = 0, arrayLength = item.length; j < arrayLength; j++) - array.push(item[j]); - } else { - array.push(item); - } - } - return array; - } - - Object.extend(arrayProto, Enumerable); - - if (!arrayProto._reverse) - arrayProto._reverse = arrayProto.reverse; - - Object.extend(arrayProto, { - _each: _each, - clear: clear, - first: first, - last: last, - compact: compact, - flatten: flatten, - without: without, - reverse: reverse, - uniq: uniq, - intersect: intersect, - clone: clone, - toArray: clone, - size: size, - inspect: inspect, - toJSON: toJSON - }); - - var CONCAT_ARGUMENTS_BUGGY = (function() { - return [].concat(arguments)[0][0] !== 1; - })(1,2) - - if (CONCAT_ARGUMENTS_BUGGY) arrayProto.concat = concat; - - if (!arrayProto.indexOf) arrayProto.indexOf = indexOf; - if (!arrayProto.lastIndexOf) arrayProto.lastIndexOf = lastIndexOf; -})(); -function $H(object) { - return new Hash(object); -}; - -var Hash = Class.create(Enumerable, (function() { - function initialize(object) { - this._object = Object.isHash(object) ? object.toObject() : Object.clone(object); - } - - function _each(iterator) { - for (var key in this._object) { - var value = this._object[key], pair = [key, value]; - pair.key = key; - pair.value = value; - iterator(pair); - } - } - - function set(key, value) { - return this._object[key] = value; - } - - function get(key) { - if (this._object[key] !== Object.prototype[key]) - return this._object[key]; - } - - function unset(key) { - var value = this._object[key]; - delete this._object[key]; - return value; - } - - function toObject() { - return Object.clone(this._object); - } - - function keys() { - return this.pluck('key'); - } - - function values() { - return this.pluck('value'); - } - - function index(value) { - var match = this.detect(function(pair) { - return pair.value === value; - }); - return match && match.key; - } - - function merge(object) { - return this.clone().update(object); - } - - function update(object) { - return new Hash(object).inject(this, function(result, pair) { - result.set(pair.key, pair.value); - return result; - }); - } - - function toQueryPair(key, value) { - if (Object.isUndefined(value)) return key; - return key + '=' + encodeURIComponent(String.interpret(value)); - } - - function toQueryString() { - return this.inject([], function(results, pair) { - var key = encodeURIComponent(pair.key), values = pair.value; - - if (values && typeof values == 'object') { - if (Object.isArray(values)) - return results.concat(values.map(toQueryPair.curry(key))); - } else results.push(toQueryPair(key, values)); - return results; - }).join('&'); - } - - function inspect() { - return '#'; - } - - function toJSON() { - return Object.toJSON(this.toObject()); - } - - function clone() { - return new Hash(this); - } - - return { - initialize: initialize, - _each: _each, - set: set, - get: get, - unset: unset, - toObject: toObject, - toTemplateReplacements: toObject, - keys: keys, - values: values, - index: index, - merge: merge, - update: update, - toQueryString: toQueryString, - inspect: inspect, - toJSON: toJSON, - clone: clone - }; -})()); - -Hash.from = $H; -Object.extend(Number.prototype, (function() { - function toColorPart() { - return this.toPaddedString(2, 16); - } - - function succ() { - return this + 1; - } - - function times(iterator, context) { - $R(0, this, true).each(iterator, context); - return this; - } - - function toPaddedString(length, radix) { - var string = this.toString(radix || 10); - return '0'.times(length - string.length) + string; - } - - function toJSON() { - return isFinite(this) ? this.toString() : 'null'; - } - - function abs() { - return Math.abs(this); - } - - function round() { - return Math.round(this); - } - - function ceil() { - return Math.ceil(this); - } - - function floor() { - return Math.floor(this); - } - - return { - toColorPart: toColorPart, - succ: succ, - times: times, - toPaddedString: toPaddedString, - toJSON: toJSON, - abs: abs, - round: round, - ceil: ceil, - floor: floor - }; -})()); - -function $R(start, end, exclusive) { - return new ObjectRange(start, end, exclusive); -} - -var ObjectRange = Class.create(Enumerable, (function() { - function initialize(start, end, exclusive) { - this.start = start; - this.end = end; - this.exclusive = exclusive; - } - - function _each(iterator) { - var value = this.start; - while (this.include(value)) { - iterator(value); - value = value.succ(); - } - } - - function include(value) { - if (value < this.start) - return false; - if (this.exclusive) - return value < this.end; - return value <= this.end; - } - - return { - initialize: initialize, - _each: _each, - include: include - }; -})()); - - - -var Ajax = { - getTransport: function() { - return Try.these( - function() {return new XMLHttpRequest()}, - function() {return new ActiveXObject('Msxml2.XMLHTTP')}, - function() {return new ActiveXObject('Microsoft.XMLHTTP')} - ) || false; - }, - - activeRequestCount: 0 -}; - -Ajax.Responders = { - responders: [], - - _each: function(iterator) { - this.responders._each(iterator); - }, - - register: function(responder) { - if (!this.include(responder)) - this.responders.push(responder); - }, - - unregister: function(responder) { - this.responders = this.responders.without(responder); - }, - - dispatch: function(callback, request, transport, json) { - this.each(function(responder) { - if (Object.isFunction(responder[callback])) { - try { - responder[callback].apply(responder, [request, transport, json]); - } catch (e) { } - } - }); - } -}; - -Object.extend(Ajax.Responders, Enumerable); - -Ajax.Responders.register({ - onCreate: function() { Ajax.activeRequestCount++ }, - onComplete: function() { Ajax.activeRequestCount-- } -}); -Ajax.Base = Class.create({ - initialize: function(options) { - this.options = { - method: 'post', - asynchronous: true, - contentType: 'application/x-www-form-urlencoded', - encoding: 'UTF-8', - parameters: '', - evalJSON: true, - evalJS: true - }; - Object.extend(this.options, options || { }); - - this.options.method = this.options.method.toLowerCase(); - - if (Object.isString(this.options.parameters)) - this.options.parameters = this.options.parameters.toQueryParams(); - else if (Object.isHash(this.options.parameters)) - this.options.parameters = this.options.parameters.toObject(); - } -}); -Ajax.Request = Class.create(Ajax.Base, { - _complete: false, - - initialize: function($super, url, options) { - $super(options); - this.transport = Ajax.getTransport(); - this.request(url); - }, - - request: function(url) { - this.url = url; - this.method = this.options.method; - var params = Object.clone(this.options.parameters); - - if (!['get', 'post'].include(this.method)) { - params['_method'] = this.method; - this.method = 'post'; - } - - this.parameters = params; - - if (params = Object.toQueryString(params)) { - if (this.method == 'get') - this.url += (this.url.include('?') ? '&' : '?') + params; - else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) - params += '&_='; - } - - try { - var response = new Ajax.Response(this); - if (this.options.onCreate) this.options.onCreate(response); - Ajax.Responders.dispatch('onCreate', this, response); - - this.transport.open(this.method.toUpperCase(), this.url, - this.options.asynchronous); - - if (this.options.asynchronous) this.respondToReadyState.bind(this).defer(1); - - this.transport.onreadystatechange = this.onStateChange.bind(this); - this.setRequestHeaders(); - - this.body = this.method == 'post' ? (this.options.postBody || params) : null; - this.transport.send(this.body); - - /* Force Firefox to handle ready state 4 for synchronous requests */ - if (!this.options.asynchronous && this.transport.overrideMimeType) - this.onStateChange(); - - } - catch (e) { - this.dispatchException(e); - } - }, - - onStateChange: function() { - var readyState = this.transport.readyState; - if (readyState > 1 && !((readyState == 4) && this._complete)) - this.respondToReadyState(this.transport.readyState); - }, - - setRequestHeaders: function() { - var headers = { - 'X-Requested-With': 'XMLHttpRequest', - 'X-Prototype-Version': Prototype.Version, - 'Accept': 'text/javascript, text/html, application/xml, text/xml, */*' - }; - - if (this.method == 'post') { - headers['Content-type'] = this.options.contentType + - (this.options.encoding ? '; charset=' + this.options.encoding : ''); - - /* Force "Connection: close" for older Mozilla browsers to work - * around a bug where XMLHttpRequest sends an incorrect - * Content-length header. See Mozilla Bugzilla #246651. - */ - if (this.transport.overrideMimeType && - (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < 2005) - headers['Connection'] = 'close'; - } - - if (typeof this.options.requestHeaders == 'object') { - var extras = this.options.requestHeaders; - - if (Object.isFunction(extras.push)) - for (var i = 0, length = extras.length; i < length; i += 2) - headers[extras[i]] = extras[i+1]; - else - $H(extras).each(function(pair) { headers[pair.key] = pair.value }); - } - - for (var name in headers) - this.transport.setRequestHeader(name, headers[name]); - }, - - success: function() { - var status = this.getStatus(); - return !status || (status >= 200 && status < 300); - }, - - getStatus: function() { - try { - return this.transport.status || 0; - } catch (e) { return 0 } - }, - - respondToReadyState: function(readyState) { - var state = Ajax.Request.Events[readyState], response = new Ajax.Response(this); - - if (state == 'Complete') { - try { - this._complete = true; - (this.options['on' + response.status] - || this.options['on' + (this.success() ? 'Success' : 'Failure')] - || Prototype.emptyFunction)(response, response.headerJSON); - } catch (e) { - this.dispatchException(e); - } - - var contentType = response.getHeader('Content-type'); - if (this.options.evalJS == 'force' - || (this.options.evalJS && this.isSameOrigin() && contentType - && contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))) - this.evalResponse(); - } - - try { - (this.options['on' + state] || Prototype.emptyFunction)(response, response.headerJSON); - Ajax.Responders.dispatch('on' + state, this, response, response.headerJSON); - } catch (e) { - this.dispatchException(e); - } - - if (state == 'Complete') { - this.transport.onreadystatechange = Prototype.emptyFunction; - } - }, - - isSameOrigin: function() { - var m = this.url.match(/^\s*https?:\/\/[^\/]*/); - return !m || (m[0] == '#{protocol}//#{domain}#{port}'.interpolate({ - protocol: location.protocol, - domain: document.domain, - port: location.port ? ':' + location.port : '' - })); - }, - - getHeader: function(name) { - try { - return this.transport.getResponseHeader(name) || null; - } catch (e) { return null; } - }, - - evalResponse: function() { - try { - return eval((this.transport.responseText || '').unfilterJSON()); - } catch (e) { - this.dispatchException(e); - } - }, - - dispatchException: function(exception) { - (this.options.onException || Prototype.emptyFunction)(this, exception); - Ajax.Responders.dispatch('onException', this, exception); - } -}); - -Ajax.Request.Events = - ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete']; - - - - - - - - -Ajax.Response = Class.create({ - initialize: function(request){ - this.request = request; - var transport = this.transport = request.transport, - readyState = this.readyState = transport.readyState; - - if((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) { - this.status = this.getStatus(); - this.statusText = this.getStatusText(); - this.responseText = String.interpret(transport.responseText); - this.headerJSON = this._getHeaderJSON(); - } - - if(readyState == 4) { - var xml = transport.responseXML; - this.responseXML = Object.isUndefined(xml) ? null : xml; - this.responseJSON = this._getResponseJSON(); - } - }, - - status: 0, - - statusText: '', - - getStatus: Ajax.Request.prototype.getStatus, - - getStatusText: function() { - try { - return this.transport.statusText || ''; - } catch (e) { return '' } - }, - - getHeader: Ajax.Request.prototype.getHeader, - - getAllHeaders: function() { - try { - return this.getAllResponseHeaders(); - } catch (e) { return null } - }, - - getResponseHeader: function(name) { - return this.transport.getResponseHeader(name); - }, - - getAllResponseHeaders: function() { - return this.transport.getAllResponseHeaders(); - }, - - _getHeaderJSON: function() { - var json = this.getHeader('X-JSON'); - if (!json) return null; - json = decodeURIComponent(escape(json)); - try { - return json.evalJSON(this.request.options.sanitizeJSON || - !this.request.isSameOrigin()); - } catch (e) { - this.request.dispatchException(e); - } - }, - - _getResponseJSON: function() { - var options = this.request.options; - if (!options.evalJSON || (options.evalJSON != 'force' && - !(this.getHeader('Content-type') || '').include('application/json')) || - this.responseText.blank()) - return null; - try { - return this.responseText.evalJSON(options.sanitizeJSON || - !this.request.isSameOrigin()); - } catch (e) { - this.request.dispatchException(e); - } - } -}); - -Ajax.Updater = Class.create(Ajax.Request, { - initialize: function($super, container, url, options) { - this.container = { - success: (container.success || container), - failure: (container.failure || (container.success ? null : container)) - }; - - options = Object.clone(options); - var onComplete = options.onComplete; - options.onComplete = (function(response, json) { - this.updateContent(response.responseText); - if (Object.isFunction(onComplete)) onComplete(response, json); - }).bind(this); - - $super(url, options); - }, - - updateContent: function(responseText) { - var receiver = this.container[this.success() ? 'success' : 'failure'], - options = this.options; - - if (!options.evalScripts) responseText = responseText.stripScripts(); - - if (receiver = $(receiver)) { - if (options.insertion) { - if (Object.isString(options.insertion)) { - var insertion = { }; insertion[options.insertion] = responseText; - receiver.insert(insertion); - } - else options.insertion(receiver, responseText); - } - else receiver.update(responseText); - } - } -}); - -Ajax.PeriodicalUpdater = Class.create(Ajax.Base, { - initialize: function($super, container, url, options) { - $super(options); - this.onComplete = this.options.onComplete; - - this.frequency = (this.options.frequency || 2); - this.decay = (this.options.decay || 1); - - this.updater = { }; - this.container = container; - this.url = url; - - this.start(); - }, - - start: function() { - this.options.onComplete = this.updateComplete.bind(this); - this.onTimerEvent(); - }, - - stop: function() { - this.updater.options.onComplete = undefined; - clearTimeout(this.timer); - (this.onComplete || Prototype.emptyFunction).apply(this, arguments); - }, - - updateComplete: function(response) { - if (this.options.decay) { - this.decay = (response.responseText == this.lastText ? - this.decay * this.options.decay : 1); - - this.lastText = response.responseText; - } - this.timer = this.onTimerEvent.bind(this).delay(this.decay * this.frequency); - }, - - onTimerEvent: function() { - this.updater = new Ajax.Updater(this.container, this.url, this.options); - } -}); - - - -function $(element) { - if (arguments.length > 1) { - for (var i = 0, elements = [], length = arguments.length; i < length; i++) - elements.push($(arguments[i])); - return elements; - } - if (Object.isString(element)) - element = document.getElementById(element); - return Element.extend(element); -} - -if (Prototype.BrowserFeatures.XPath) { - document._getElementsByXPath = function(expression, parentElement) { - var results = []; - var query = document.evaluate(expression, $(parentElement) || document, - null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); - for (var i = 0, length = query.snapshotLength; i < length; i++) - results.push(Element.extend(query.snapshotItem(i))); - return results; - }; -} - -/*--------------------------------------------------------------------------*/ - -if (!window.Node) var Node = { }; - -if (!Node.ELEMENT_NODE) { - Object.extend(Node, { - ELEMENT_NODE: 1, - ATTRIBUTE_NODE: 2, - TEXT_NODE: 3, - CDATA_SECTION_NODE: 4, - ENTITY_REFERENCE_NODE: 5, - ENTITY_NODE: 6, - PROCESSING_INSTRUCTION_NODE: 7, - COMMENT_NODE: 8, - DOCUMENT_NODE: 9, - DOCUMENT_TYPE_NODE: 10, - DOCUMENT_FRAGMENT_NODE: 11, - NOTATION_NODE: 12 - }); -} - - -(function(global) { - - var SETATTRIBUTE_IGNORES_NAME = (function(){ - var elForm = document.createElement("form"); - var elInput = document.createElement("input"); - var root = document.documentElement; - elInput.setAttribute("name", "test"); - elForm.appendChild(elInput); - root.appendChild(elForm); - var isBuggy = elForm.elements - ? (typeof elForm.elements.test == "undefined") - : null; - root.removeChild(elForm); - elForm = elInput = null; - return isBuggy; - })(); - - var element = global.Element; - global.Element = function(tagName, attributes) { - attributes = attributes || { }; - tagName = tagName.toLowerCase(); - var cache = Element.cache; - if (SETATTRIBUTE_IGNORES_NAME && attributes.name) { - tagName = '<' + tagName + ' name="' + attributes.name + '">'; - delete attributes.name; - return Element.writeAttribute(document.createElement(tagName), attributes); - } - if (!cache[tagName]) cache[tagName] = Element.extend(document.createElement(tagName)); - return Element.writeAttribute(cache[tagName].cloneNode(false), attributes); - }; - Object.extend(global.Element, element || { }); - if (element) global.Element.prototype = element.prototype; -})(this); - -Element.cache = { }; -Element.idCounter = 1; - -Element.Methods = { - visible: function(element) { - return $(element).style.display != 'none'; - }, - - toggle: function(element) { - element = $(element); - Element[Element.visible(element) ? 'hide' : 'show'](element); - return element; - }, - - - hide: function(element) { - element = $(element); - element.style.display = 'none'; - return element; - }, - - show: function(element) { - element = $(element); - element.style.display = ''; - return element; - }, - - remove: function(element) { - element = $(element); - element.parentNode.removeChild(element); - return element; - }, - - update: (function(){ - - var SELECT_ELEMENT_INNERHTML_BUGGY = (function(){ - var el = document.createElement("select"), - isBuggy = true; - el.innerHTML = ""; - if (el.options && el.options[0]) { - isBuggy = el.options[0].nodeName.toUpperCase() !== "OPTION"; - } - el = null; - return isBuggy; - })(); - - var TABLE_ELEMENT_INNERHTML_BUGGY = (function(){ - try { - var el = document.createElement("table"); - if (el && el.tBodies) { - el.innerHTML = "test"; - var isBuggy = typeof el.tBodies[0] == "undefined"; - el = null; - return isBuggy; - } - } catch (e) { - return true; - } - })(); - - var SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING = (function () { - var s = document.createElement("script"), - isBuggy = false; - try { - s.appendChild(document.createTextNode("")); - isBuggy = !s.firstChild || - s.firstChild && s.firstChild.nodeType !== 3; - } catch (e) { - isBuggy = true; - } - s = null; - return isBuggy; - })(); - - function update(element, content) { - element = $(element); - - if (content && content.toElement) - content = content.toElement(); - - if (Object.isElement(content)) - return element.update().insert(content); - - content = Object.toHTML(content); - - var tagName = element.tagName.toUpperCase(); - - if (tagName === 'SCRIPT' && SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING) { - element.text = content; - return element; - } - - if (SELECT_ELEMENT_INNERHTML_BUGGY || TABLE_ELEMENT_INNERHTML_BUGGY) { - if (tagName in Element._insertionTranslations.tags) { - while (element.firstChild) { - element.removeChild(element.firstChild); - } - Element._getContentFromAnonymousElement(tagName, content.stripScripts()) - .each(function(node) { - element.appendChild(node) - }); - } - else { - element.innerHTML = content.stripScripts(); - } - } - else { - element.innerHTML = content.stripScripts(); - } - - content.evalScripts.bind(content).defer(); - return element; - } - - return update; - })(), - - replace: function(element, content) { - element = $(element); - if (content && content.toElement) content = content.toElement(); - else if (!Object.isElement(content)) { - content = Object.toHTML(content); - var range = element.ownerDocument.createRange(); - range.selectNode(element); - content.evalScripts.bind(content).defer(); - content = range.createContextualFragment(content.stripScripts()); - } - element.parentNode.replaceChild(content, element); - return element; - }, - - insert: function(element, insertions) { - element = $(element); - - if (Object.isString(insertions) || Object.isNumber(insertions) || - Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML))) - insertions = {bottom:insertions}; - - var content, insert, tagName, childNodes; - - for (var position in insertions) { - content = insertions[position]; - position = position.toLowerCase(); - insert = Element._insertionTranslations[position]; - - if (content && content.toElement) content = content.toElement(); - if (Object.isElement(content)) { - insert(element, content); - continue; - } - - content = Object.toHTML(content); - - tagName = ((position == 'before' || position == 'after') - ? element.parentNode : element).tagName.toUpperCase(); - - childNodes = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); - - if (position == 'top' || position == 'after') childNodes.reverse(); - childNodes.each(insert.curry(element)); - - content.evalScripts.bind(content).defer(); - } - - return element; - }, - - wrap: function(element, wrapper, attributes) { - element = $(element); - if (Object.isElement(wrapper)) - $(wrapper).writeAttribute(attributes || { }); - else if (Object.isString(wrapper)) wrapper = new Element(wrapper, attributes); - else wrapper = new Element('div', wrapper); - if (element.parentNode) - element.parentNode.replaceChild(wrapper, element); - wrapper.appendChild(element); - return wrapper; - }, - - inspect: function(element) { - element = $(element); - var result = '<' + element.tagName.toLowerCase(); - $H({'id': 'id', 'className': 'class'}).each(function(pair) { - var property = pair.first(), attribute = pair.last(); - var value = (element[property] || '').toString(); - if (value) result += ' ' + attribute + '=' + value.inspect(true); - }); - return result + '>'; - }, - - recursivelyCollect: function(element, property) { - element = $(element); - var elements = []; - while (element = element[property]) - if (element.nodeType == 1) - elements.push(Element.extend(element)); - return elements; - }, - - ancestors: function(element) { - return Element.recursivelyCollect(element, 'parentNode'); - }, - - descendants: function(element) { - return Element.select(element, "*"); - }, - - firstDescendant: function(element) { - element = $(element).firstChild; - while (element && element.nodeType != 1) element = element.nextSibling; - return $(element); - }, - - immediateDescendants: function(element) { - if (!(element = $(element).firstChild)) return []; - while (element && element.nodeType != 1) element = element.nextSibling; - if (element) return [element].concat($(element).nextSiblings()); - return []; - }, - - previousSiblings: function(element) { - return Element.recursivelyCollect(element, 'previousSibling'); - }, - - nextSiblings: function(element) { - return Element.recursivelyCollect(element, 'nextSibling'); - }, - - siblings: function(element) { - element = $(element); - return Element.previousSiblings(element).reverse() - .concat(Element.nextSiblings(element)); - }, - - match: function(element, selector) { - if (Object.isString(selector)) - selector = new Selector(selector); - return selector.match($(element)); - }, - - up: function(element, expression, index) { - element = $(element); - if (arguments.length == 1) return $(element.parentNode); - var ancestors = Element.ancestors(element); - return Object.isNumber(expression) ? ancestors[expression] : - Selector.findElement(ancestors, expression, index); - }, - - down: function(element, expression, index) { - element = $(element); - if (arguments.length == 1) return Element.firstDescendant(element); - return Object.isNumber(expression) ? Element.descendants(element)[expression] : - Element.select(element, expression)[index || 0]; - }, - - previous: function(element, expression, index) { - element = $(element); - if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element)); - var previousSiblings = Element.previousSiblings(element); - return Object.isNumber(expression) ? previousSiblings[expression] : - Selector.findElement(previousSiblings, expression, index); - }, - - next: function(element, expression, index) { - element = $(element); - if (arguments.length == 1) return $(Selector.handlers.nextElementSibling(element)); - var nextSiblings = Element.nextSiblings(element); - return Object.isNumber(expression) ? nextSiblings[expression] : - Selector.findElement(nextSiblings, expression, index); - }, - - - select: function(element) { - var args = Array.prototype.slice.call(arguments, 1); - return Selector.findChildElements(element, args); - }, - - adjacent: function(element) { - var args = Array.prototype.slice.call(arguments, 1); - return Selector.findChildElements(element.parentNode, args).without(element); - }, - - identify: function(element) { - element = $(element); - var id = Element.readAttribute(element, 'id'); - if (id) return id; - do { id = 'anonymous_element_' + Element.idCounter++ } while ($(id)); - Element.writeAttribute(element, 'id', id); - return id; - }, - - readAttribute: function(element, name) { - element = $(element); - if (Prototype.Browser.IE) { - var t = Element._attributeTranslations.read; - if (t.values[name]) return t.values[name](element, name); - if (t.names[name]) name = t.names[name]; - if (name.include(':')) { - return (!element.attributes || !element.attributes[name]) ? null : - element.attributes[name].value; - } - } - return element.getAttribute(name); - }, - - writeAttribute: function(element, name, value) { - element = $(element); - var attributes = { }, t = Element._attributeTranslations.write; - - if (typeof name == 'object') attributes = name; - else attributes[name] = Object.isUndefined(value) ? true : value; - - for (var attr in attributes) { - name = t.names[attr] || attr; - value = attributes[attr]; - if (t.values[attr]) name = t.values[attr](element, value); - if (value === false || value === null) - element.removeAttribute(name); - else if (value === true) - element.setAttribute(name, name); - else element.setAttribute(name, value); - } - return element; - }, - - getHeight: function(element) { - return Element.getDimensions(element).height; - }, - - getWidth: function(element) { - return Element.getDimensions(element).width; - }, - - classNames: function(element) { - return new Element.ClassNames(element); - }, - - hasClassName: function(element, className) { - if (!(element = $(element))) return; - var elementClassName = element.className; - return (elementClassName.length > 0 && (elementClassName == className || - new RegExp("(^|\\s)" + className + "(\\s|$)").test(elementClassName))); - }, - - addClassName: function(element, className) { - if (!(element = $(element))) return; - if (!Element.hasClassName(element, className)) - element.className += (element.className ? ' ' : '') + className; - return element; - }, - - removeClassName: function(element, className) { - if (!(element = $(element))) return; - element.className = element.className.replace( - new RegExp("(^|\\s+)" + className + "(\\s+|$)"), ' ').strip(); - return element; - }, - - toggleClassName: function(element, className) { - if (!(element = $(element))) return; - return Element[Element.hasClassName(element, className) ? - 'removeClassName' : 'addClassName'](element, className); - }, - - cleanWhitespace: function(element) { - element = $(element); - var node = element.firstChild; - while (node) { - var nextNode = node.nextSibling; - if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) - element.removeChild(node); - node = nextNode; - } - return element; - }, - - empty: function(element) { - return $(element).innerHTML.blank(); - }, - - descendantOf: function(element, ancestor) { - element = $(element), ancestor = $(ancestor); - - if (element.compareDocumentPosition) - return (element.compareDocumentPosition(ancestor) & 8) === 8; - - if (ancestor.contains) - return ancestor.contains(element) && ancestor !== element; - - while (element = element.parentNode) - if (element == ancestor) return true; - - return false; - }, - - scrollTo: function(element) { - element = $(element); - var pos = Element.cumulativeOffset(element); - window.scrollTo(pos[0], pos[1]); - return element; - }, - - getStyle: function(element, style) { - element = $(element); - style = style == 'float' ? 'cssFloat' : style.camelize(); - var value = element.style[style]; - if (!value || value == 'auto') { - var css = document.defaultView.getComputedStyle(element, null); - value = css ? css[style] : null; - } - if (style == 'opacity') return value ? parseFloat(value) : 1.0; - return value == 'auto' ? null : value; - }, - - getOpacity: function(element) { - return $(element).getStyle('opacity'); - }, - - setStyle: function(element, styles) { - element = $(element); - var elementStyle = element.style, match; - if (Object.isString(styles)) { - element.style.cssText += ';' + styles; - return styles.include('opacity') ? - element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : element; - } - for (var property in styles) - if (property == 'opacity') element.setOpacity(styles[property]); - else - elementStyle[(property == 'float' || property == 'cssFloat') ? - (Object.isUndefined(elementStyle.styleFloat) ? 'cssFloat' : 'styleFloat') : - property] = styles[property]; - - return element; - }, - - setOpacity: function(element, value) { - element = $(element); - element.style.opacity = (value == 1 || value === '') ? '' : - (value < 0.00001) ? 0 : value; - return element; - }, - - getDimensions: function(element) { - element = $(element); - var display = Element.getStyle(element, 'display'); - if (display != 'none' && display != null) // Safari bug - return {width: element.offsetWidth, height: element.offsetHeight}; - - var els = element.style; - var originalVisibility = els.visibility; - var originalPosition = els.position; - var originalDisplay = els.display; - els.visibility = 'hidden'; - if (originalPosition != 'fixed') // Switching fixed to absolute causes issues in Safari - els.position = 'absolute'; - els.display = 'block'; - var originalWidth = element.clientWidth; - var originalHeight = element.clientHeight; - els.display = originalDisplay; - els.position = originalPosition; - els.visibility = originalVisibility; - return {width: originalWidth, height: originalHeight}; - }, - - makePositioned: function(element) { - element = $(element); - var pos = Element.getStyle(element, 'position'); - if (pos == 'static' || !pos) { - element._madePositioned = true; - element.style.position = 'relative'; - if (Prototype.Browser.Opera) { - element.style.top = 0; - element.style.left = 0; - } - } - return element; - }, - - undoPositioned: function(element) { - element = $(element); - if (element._madePositioned) { - element._madePositioned = undefined; - element.style.position = - element.style.top = - element.style.left = - element.style.bottom = - element.style.right = ''; - } - return element; - }, - - makeClipping: function(element) { - element = $(element); - if (element._overflow) return element; - element._overflow = Element.getStyle(element, 'overflow') || 'auto'; - if (element._overflow !== 'hidden') - element.style.overflow = 'hidden'; - return element; - }, - - undoClipping: function(element) { - element = $(element); - if (!element._overflow) return element; - element.style.overflow = element._overflow == 'auto' ? '' : element._overflow; - element._overflow = null; - return element; - }, - - cumulativeOffset: function(element) { - var valueT = 0, valueL = 0; - do { - valueT += element.offsetTop || 0; - valueL += element.offsetLeft || 0; - element = element.offsetParent; - } while (element); - return Element._returnOffset(valueL, valueT); - }, - - positionedOffset: function(element) { - var valueT = 0, valueL = 0; - do { - valueT += element.offsetTop || 0; - valueL += element.offsetLeft || 0; - element = element.offsetParent; - if (element) { - if (element.tagName.toUpperCase() == 'BODY') break; - var p = Element.getStyle(element, 'position'); - if (p !== 'static') break; - } - } while (element); - return Element._returnOffset(valueL, valueT); - }, - - absolutize: function(element) { - element = $(element); - if (Element.getStyle(element, 'position') == 'absolute') return element; - - var offsets = Element.positionedOffset(element); - var top = offsets[1]; - var left = offsets[0]; - var width = element.clientWidth; - var height = element.clientHeight; - - element._originalLeft = left - parseFloat(element.style.left || 0); - element._originalTop = top - parseFloat(element.style.top || 0); - element._originalWidth = element.style.width; - element._originalHeight = element.style.height; - - element.style.position = 'absolute'; - element.style.top = top + 'px'; - element.style.left = left + 'px'; - element.style.width = width + 'px'; - element.style.height = height + 'px'; - return element; - }, - - relativize: function(element) { - element = $(element); - if (Element.getStyle(element, 'position') == 'relative') return element; - - element.style.position = 'relative'; - var top = parseFloat(element.style.top || 0) - (element._originalTop || 0); - var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0); - - element.style.top = top + 'px'; - element.style.left = left + 'px'; - element.style.height = element._originalHeight; - element.style.width = element._originalWidth; - return element; - }, - - cumulativeScrollOffset: function(element) { - var valueT = 0, valueL = 0; - do { - valueT += element.scrollTop || 0; - valueL += element.scrollLeft || 0; - element = element.parentNode; - } while (element); - return Element._returnOffset(valueL, valueT); - }, - - getOffsetParent: function(element) { - if (element.offsetParent) return $(element.offsetParent); - if (element == document.body) return $(element); - - while ((element = element.parentNode) && element != document.body) - if (Element.getStyle(element, 'position') != 'static') - return $(element); - - return $(document.body); - }, - - viewportOffset: function(forElement) { - var valueT = 0, valueL = 0; - - var element = forElement; - do { - valueT += element.offsetTop || 0; - valueL += element.offsetLeft || 0; - - if (element.offsetParent == document.body && - Element.getStyle(element, 'position') == 'absolute') break; - - } while (element = element.offsetParent); - - element = forElement; - do { - if (!Prototype.Browser.Opera || (element.tagName && (element.tagName.toUpperCase() == 'BODY'))) { - valueT -= element.scrollTop || 0; - valueL -= element.scrollLeft || 0; - } - } while (element = element.parentNode); - - return Element._returnOffset(valueL, valueT); - }, - - clonePosition: function(element, source) { - var options = Object.extend({ - setLeft: true, - setTop: true, - setWidth: true, - setHeight: true, - offsetTop: 0, - offsetLeft: 0 - }, arguments[2] || { }); - - source = $(source); - var p = Element.viewportOffset(source); - - element = $(element); - var delta = [0, 0]; - var parent = null; - if (Element.getStyle(element, 'position') == 'absolute') { - parent = Element.getOffsetParent(element); - delta = Element.viewportOffset(parent); - } - - if (parent == document.body) { - delta[0] -= document.body.offsetLeft; - delta[1] -= document.body.offsetTop; - } - - if (options.setLeft) element.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px'; - if (options.setTop) element.style.top = (p[1] - delta[1] + options.offsetTop) + 'px'; - if (options.setWidth) element.style.width = source.offsetWidth + 'px'; - if (options.setHeight) element.style.height = source.offsetHeight + 'px'; - return element; - } -}; - -Object.extend(Element.Methods, { - getElementsBySelector: Element.Methods.select, - - childElements: Element.Methods.immediateDescendants -}); - -Element._attributeTranslations = { - write: { - names: { - className: 'class', - htmlFor: 'for' - }, - values: { } - } -}; - -if (Prototype.Browser.Opera) { - Element.Methods.getStyle = Element.Methods.getStyle.wrap( - function(proceed, element, style) { - switch (style) { - case 'left': case 'top': case 'right': case 'bottom': - if (proceed(element, 'position') === 'static') return null; - case 'height': case 'width': - if (!Element.visible(element)) return null; - - var dim = parseInt(proceed(element, style), 10); - - if (dim !== element['offset' + style.capitalize()]) - return dim + 'px'; - - var properties; - if (style === 'height') { - properties = ['border-top-width', 'padding-top', - 'padding-bottom', 'border-bottom-width']; - } - else { - properties = ['border-left-width', 'padding-left', - 'padding-right', 'border-right-width']; - } - return properties.inject(dim, function(memo, property) { - var val = proceed(element, property); - return val === null ? memo : memo - parseInt(val, 10); - }) + 'px'; - default: return proceed(element, style); - } - } - ); - - Element.Methods.readAttribute = Element.Methods.readAttribute.wrap( - function(proceed, element, attribute) { - if (attribute === 'title') return element.title; - return proceed(element, attribute); - } - ); -} - -else if (Prototype.Browser.IE) { - Element.Methods.getOffsetParent = Element.Methods.getOffsetParent.wrap( - function(proceed, element) { - element = $(element); - try { element.offsetParent } - catch(e) { return $(document.body) } - var position = element.getStyle('position'); - if (position !== 'static') return proceed(element); - element.setStyle({ position: 'relative' }); - var value = proceed(element); - element.setStyle({ position: position }); - return value; - } - ); - - $w('positionedOffset viewportOffset').each(function(method) { - Element.Methods[method] = Element.Methods[method].wrap( - function(proceed, element) { - element = $(element); - try { element.offsetParent } - catch(e) { return Element._returnOffset(0,0) } - var position = element.getStyle('position'); - if (position !== 'static') return proceed(element); - var offsetParent = element.getOffsetParent(); - if (offsetParent && offsetParent.getStyle('position') === 'fixed') - offsetParent.setStyle({ zoom: 1 }); - element.setStyle({ position: 'relative' }); - var value = proceed(element); - element.setStyle({ position: position }); - return value; - } - ); - }); - - Element.Methods.cumulativeOffset = Element.Methods.cumulativeOffset.wrap( - function(proceed, element) { - try { element.offsetParent } - catch(e) { return Element._returnOffset(0,0) } - return proceed(element); - } - ); - - Element.Methods.getStyle = function(element, style) { - element = $(element); - style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize(); - var value = element.style[style]; - if (!value && element.currentStyle) value = element.currentStyle[style]; - - if (style == 'opacity') { - if (value = (element.getStyle('filter') || '').match(/alpha\(opacity=(.*)\)/)) - if (value[1]) return parseFloat(value[1]) / 100; - return 1.0; - } - - if (value == 'auto') { - if ((style == 'width' || style == 'height') && (element.getStyle('display') != 'none')) - return element['offset' + style.capitalize()] + 'px'; - return null; - } - return value; - }; - - Element.Methods.setOpacity = function(element, value) { - function stripAlpha(filter){ - return filter.replace(/alpha\([^\)]*\)/gi,''); - } - element = $(element); - var currentStyle = element.currentStyle; - if ((currentStyle && !currentStyle.hasLayout) || - (!currentStyle && element.style.zoom == 'normal')) - element.style.zoom = 1; - - var filter = element.getStyle('filter'), style = element.style; - if (value == 1 || value === '') { - (filter = stripAlpha(filter)) ? - style.filter = filter : style.removeAttribute('filter'); - return element; - } else if (value < 0.00001) value = 0; - style.filter = stripAlpha(filter) + - 'alpha(opacity=' + (value * 100) + ')'; - return element; - }; - - Element._attributeTranslations = (function(){ - - var classProp = 'className'; - var forProp = 'for'; - - var el = document.createElement('div'); - - el.setAttribute(classProp, 'x'); - - if (el.className !== 'x') { - el.setAttribute('class', 'x'); - if (el.className === 'x') { - classProp = 'class'; - } - } - el = null; - - el = document.createElement('label'); - el.setAttribute(forProp, 'x'); - if (el.htmlFor !== 'x') { - el.setAttribute('htmlFor', 'x'); - if (el.htmlFor === 'x') { - forProp = 'htmlFor'; - } - } - el = null; - - return { - read: { - names: { - 'class': classProp, - 'className': classProp, - 'for': forProp, - 'htmlFor': forProp - }, - values: { - _getAttr: function(element, attribute) { - return element.getAttribute(attribute); - }, - _getAttr2: function(element, attribute) { - return element.getAttribute(attribute, 2); - }, - _getAttrNode: function(element, attribute) { - var node = element.getAttributeNode(attribute); - return node ? node.value : ""; - }, - _getEv: (function(){ - - var el = document.createElement('div'); - el.onclick = Prototype.emptyFunction; - var value = el.getAttribute('onclick'); - var f; - - if (String(value).indexOf('{') > -1) { - f = function(element, attribute) { - attribute = element.getAttribute(attribute); - if (!attribute) return null; - attribute = attribute.toString(); - attribute = attribute.split('{')[1]; - attribute = attribute.split('}')[0]; - return attribute.strip(); - }; - } - else if (value === '') { - f = function(element, attribute) { - attribute = element.getAttribute(attribute); - if (!attribute) return null; - return attribute.strip(); - }; - } - el = null; - return f; - })(), - _flag: function(element, attribute) { - return $(element).hasAttribute(attribute) ? attribute : null; - }, - style: function(element) { - return element.style.cssText.toLowerCase(); - }, - title: function(element) { - return element.title; - } - } - } - } - })(); - - Element._attributeTranslations.write = { - names: Object.extend({ - cellpadding: 'cellPadding', - cellspacing: 'cellSpacing' - }, Element._attributeTranslations.read.names), - values: { - checked: function(element, value) { - element.checked = !!value; - }, - - style: function(element, value) { - element.style.cssText = value ? value : ''; - } - } - }; - - Element._attributeTranslations.has = {}; - - $w('colSpan rowSpan vAlign dateTime accessKey tabIndex ' + - 'encType maxLength readOnly longDesc frameBorder').each(function(attr) { - Element._attributeTranslations.write.names[attr.toLowerCase()] = attr; - Element._attributeTranslations.has[attr.toLowerCase()] = attr; - }); - - (function(v) { - Object.extend(v, { - href: v._getAttr2, - src: v._getAttr2, - type: v._getAttr, - action: v._getAttrNode, - disabled: v._flag, - checked: v._flag, - readonly: v._flag, - multiple: v._flag, - onload: v._getEv, - onunload: v._getEv, - onclick: v._getEv, - ondblclick: v._getEv, - onmousedown: v._getEv, - onmouseup: v._getEv, - onmouseover: v._getEv, - onmousemove: v._getEv, - onmouseout: v._getEv, - onfocus: v._getEv, - onblur: v._getEv, - onkeypress: v._getEv, - onkeydown: v._getEv, - onkeyup: v._getEv, - onsubmit: v._getEv, - onreset: v._getEv, - onselect: v._getEv, - onchange: v._getEv - }); - })(Element._attributeTranslations.read.values); - - if (Prototype.BrowserFeatures.ElementExtensions) { - (function() { - function _descendants(element) { - var nodes = element.getElementsByTagName('*'), results = []; - for (var i = 0, node; node = nodes[i]; i++) - if (node.tagName !== "!") // Filter out comment nodes. - results.push(node); - return results; - } - - Element.Methods.down = function(element, expression, index) { - element = $(element); - if (arguments.length == 1) return element.firstDescendant(); - return Object.isNumber(expression) ? _descendants(element)[expression] : - Element.select(element, expression)[index || 0]; - } - })(); - } - -} - -else if (Prototype.Browser.Gecko && /rv:1\.8\.0/.test(navigator.userAgent)) { - Element.Methods.setOpacity = function(element, value) { - element = $(element); - element.style.opacity = (value == 1) ? 0.999999 : - (value === '') ? '' : (value < 0.00001) ? 0 : value; - return element; - }; -} - -else if (Prototype.Browser.WebKit) { - Element.Methods.setOpacity = function(element, value) { - element = $(element); - element.style.opacity = (value == 1 || value === '') ? '' : - (value < 0.00001) ? 0 : value; - - if (value == 1) - if(element.tagName.toUpperCase() == 'IMG' && element.width) { - element.width++; element.width--; - } else try { - var n = document.createTextNode(' '); - element.appendChild(n); - element.removeChild(n); - } catch (e) { } - - return element; - }; - - Element.Methods.cumulativeOffset = function(element) { - var valueT = 0, valueL = 0; - do { - valueT += element.offsetTop || 0; - valueL += element.offsetLeft || 0; - if (element.offsetParent == document.body) - if (Element.getStyle(element, 'position') == 'absolute') break; - - element = element.offsetParent; - } while (element); - - return Element._returnOffset(valueL, valueT); - }; -} - -if ('outerHTML' in document.documentElement) { - Element.Methods.replace = function(element, content) { - element = $(element); - - if (content && content.toElement) content = content.toElement(); - if (Object.isElement(content)) { - element.parentNode.replaceChild(content, element); - return element; - } - - content = Object.toHTML(content); - var parent = element.parentNode, tagName = parent.tagName.toUpperCase(); - - if (Element._insertionTranslations.tags[tagName]) { - var nextSibling = element.next(); - var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); - parent.removeChild(element); - if (nextSibling) - fragments.each(function(node) { parent.insertBefore(node, nextSibling) }); - else - fragments.each(function(node) { parent.appendChild(node) }); - } - else element.outerHTML = content.stripScripts(); - - content.evalScripts.bind(content).defer(); - return element; - }; -} - -Element._returnOffset = function(l, t) { - var result = [l, t]; - result.left = l; - result.top = t; - return result; -}; - -Element._getContentFromAnonymousElement = function(tagName, html) { - var div = new Element('div'), t = Element._insertionTranslations.tags[tagName]; - if (t) { - div.innerHTML = t[0] + html + t[1]; - t[2].times(function() { div = div.firstChild }); - } else div.innerHTML = html; - return $A(div.childNodes); -}; - -Element._insertionTranslations = { - before: function(element, node) { - element.parentNode.insertBefore(node, element); - }, - top: function(element, node) { - element.insertBefore(node, element.firstChild); - }, - bottom: function(element, node) { - element.appendChild(node); - }, - after: function(element, node) { - element.parentNode.insertBefore(node, element.nextSibling); - }, - tags: { - TABLE: ['', '
', 1], - TBODY: ['', '
', 2], - TR: ['', '
', 3], - TD: ['
', '
', 4], - SELECT: ['', 1] - } -}; - -(function() { - var tags = Element._insertionTranslations.tags; - Object.extend(tags, { - THEAD: tags.TBODY, - TFOOT: tags.TBODY, - TH: tags.TD - }); -})(); - -Element.Methods.Simulated = { - hasAttribute: function(element, attribute) { - attribute = Element._attributeTranslations.has[attribute] || attribute; - var node = $(element).getAttributeNode(attribute); - return !!(node && node.specified); - } -}; - -Element.Methods.ByTag = { }; - -Object.extend(Element, Element.Methods); - -(function(div) { - - if (!Prototype.BrowserFeatures.ElementExtensions && div['__proto__']) { - window.HTMLElement = { }; - window.HTMLElement.prototype = div['__proto__']; - Prototype.BrowserFeatures.ElementExtensions = true; - } - - div = null; - -})(document.createElement('div')) - -Element.extend = (function() { - - function checkDeficiency(tagName) { - if (typeof window.Element != 'undefined') { - var proto = window.Element.prototype; - if (proto) { - var id = '_' + (Math.random()+'').slice(2); - var el = document.createElement(tagName); - proto[id] = 'x'; - var isBuggy = (el[id] !== 'x'); - delete proto[id]; - el = null; - return isBuggy; - } - } - return false; - } - - function extendElementWith(element, methods) { - for (var property in methods) { - var value = methods[property]; - if (Object.isFunction(value) && !(property in element)) - element[property] = value.methodize(); - } - } - - var HTMLOBJECTELEMENT_PROTOTYPE_BUGGY = checkDeficiency('object'); - - if (Prototype.BrowserFeatures.SpecificElementExtensions) { - if (HTMLOBJECTELEMENT_PROTOTYPE_BUGGY) { - return function(element) { - if (element && typeof element._extendedByPrototype == 'undefined') { - var t = element.tagName; - if (t && (/^(?:object|applet|embed)$/i.test(t))) { - extendElementWith(element, Element.Methods); - extendElementWith(element, Element.Methods.Simulated); - extendElementWith(element, Element.Methods.ByTag[t.toUpperCase()]); - } - } - return element; - } - } - return Prototype.K; - } - - var Methods = { }, ByTag = Element.Methods.ByTag; - - var extend = Object.extend(function(element) { - if (!element || typeof element._extendedByPrototype != 'undefined' || - element.nodeType != 1 || element == window) return element; - - var methods = Object.clone(Methods), - tagName = element.tagName.toUpperCase(); - - if (ByTag[tagName]) Object.extend(methods, ByTag[tagName]); - - extendElementWith(element, methods); - - element._extendedByPrototype = Prototype.emptyFunction; - return element; - - }, { - refresh: function() { - if (!Prototype.BrowserFeatures.ElementExtensions) { - Object.extend(Methods, Element.Methods); - Object.extend(Methods, Element.Methods.Simulated); - } - } - }); - - extend.refresh(); - return extend; -})(); - -Element.hasAttribute = function(element, attribute) { - if (element.hasAttribute) return element.hasAttribute(attribute); - return Element.Methods.Simulated.hasAttribute(element, attribute); -}; - -Element.addMethods = function(methods) { - var F = Prototype.BrowserFeatures, T = Element.Methods.ByTag; - - if (!methods) { - Object.extend(Form, Form.Methods); - Object.extend(Form.Element, Form.Element.Methods); - Object.extend(Element.Methods.ByTag, { - "FORM": Object.clone(Form.Methods), - "INPUT": Object.clone(Form.Element.Methods), - "SELECT": Object.clone(Form.Element.Methods), - "TEXTAREA": Object.clone(Form.Element.Methods) - }); - } - - if (arguments.length == 2) { - var tagName = methods; - methods = arguments[1]; - } - - if (!tagName) Object.extend(Element.Methods, methods || { }); - else { - if (Object.isArray(tagName)) tagName.each(extend); - else extend(tagName); - } - - function extend(tagName) { - tagName = tagName.toUpperCase(); - if (!Element.Methods.ByTag[tagName]) - Element.Methods.ByTag[tagName] = { }; - Object.extend(Element.Methods.ByTag[tagName], methods); - } - - function copy(methods, destination, onlyIfAbsent) { - onlyIfAbsent = onlyIfAbsent || false; - for (var property in methods) { - var value = methods[property]; - if (!Object.isFunction(value)) continue; - if (!onlyIfAbsent || !(property in destination)) - destination[property] = value.methodize(); - } - } - - function findDOMClass(tagName) { - var klass; - var trans = { - "OPTGROUP": "OptGroup", "TEXTAREA": "TextArea", "P": "Paragraph", - "FIELDSET": "FieldSet", "UL": "UList", "OL": "OList", "DL": "DList", - "DIR": "Directory", "H1": "Heading", "H2": "Heading", "H3": "Heading", - "H4": "Heading", "H5": "Heading", "H6": "Heading", "Q": "Quote", - "INS": "Mod", "DEL": "Mod", "A": "Anchor", "IMG": "Image", "CAPTION": - "TableCaption", "COL": "TableCol", "COLGROUP": "TableCol", "THEAD": - "TableSection", "TFOOT": "TableSection", "TBODY": "TableSection", "TR": - "TableRow", "TH": "TableCell", "TD": "TableCell", "FRAMESET": - "FrameSet", "IFRAME": "IFrame" - }; - if (trans[tagName]) klass = 'HTML' + trans[tagName] + 'Element'; - if (window[klass]) return window[klass]; - klass = 'HTML' + tagName + 'Element'; - if (window[klass]) return window[klass]; - klass = 'HTML' + tagName.capitalize() + 'Element'; - if (window[klass]) return window[klass]; - - var element = document.createElement(tagName); - var proto = element['__proto__'] || element.constructor.prototype; - element = null; - return proto; - } - - var elementPrototype = window.HTMLElement ? HTMLElement.prototype : - Element.prototype; - - if (F.ElementExtensions) { - copy(Element.Methods, elementPrototype); - copy(Element.Methods.Simulated, elementPrototype, true); - } - - if (F.SpecificElementExtensions) { - for (var tag in Element.Methods.ByTag) { - var klass = findDOMClass(tag); - if (Object.isUndefined(klass)) continue; - copy(T[tag], klass.prototype); - } - } - - Object.extend(Element, Element.Methods); - delete Element.ByTag; - - if (Element.extend.refresh) Element.extend.refresh(); - Element.cache = { }; -}; - - -document.viewport = { - - getDimensions: function() { - return { width: this.getWidth(), height: this.getHeight() }; - }, - - getScrollOffsets: function() { - return Element._returnOffset( - window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft, - window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop); - } -}; - -(function(viewport) { - var B = Prototype.Browser, doc = document, element, property = {}; - - function getRootElement() { - if (B.WebKit && !doc.evaluate) - return document; - - if (B.Opera && window.parseFloat(window.opera.version()) < 9.5) - return document.body; - - return document.documentElement; - } - - function define(D) { - if (!element) element = getRootElement(); - - property[D] = 'client' + D; - - viewport['get' + D] = function() { return element[property[D]] }; - return viewport['get' + D](); - } - - viewport.getWidth = define.curry('Width'); - - viewport.getHeight = define.curry('Height'); -})(document.viewport); - - -Element.Storage = { - UID: 1 -}; - -Element.addMethods({ - getStorage: function(element) { - if (!(element = $(element))) return; - - var uid; - if (element === window) { - uid = 0; - } else { - if (typeof element._prototypeUID === "undefined") - element._prototypeUID = [Element.Storage.UID++]; - uid = element._prototypeUID[0]; - } - - if (!Element.Storage[uid]) - Element.Storage[uid] = $H(); - - return Element.Storage[uid]; - }, - - store: function(element, key, value) { - if (!(element = $(element))) return; - - if (arguments.length === 2) { - Element.getStorage(element).update(key); - } else { - Element.getStorage(element).set(key, value); - } - - return element; - }, - - retrieve: function(element, key, defaultValue) { - if (!(element = $(element))) return; - var hash = Element.getStorage(element), value = hash.get(key); - - if (Object.isUndefined(value)) { - hash.set(key, defaultValue); - value = defaultValue; - } - - return value; - }, - - clone: function(element, deep) { - if (!(element = $(element))) return; - var clone = element.cloneNode(deep); - clone._prototypeUID = void 0; - if (deep) { - var descendants = Element.select(clone, '*'), - i = descendants.length; - while (i--) { - descendants[i]._prototypeUID = void 0; - } - } - return Element.extend(clone); - } -}); -/* Portions of the Selector class are derived from Jack Slocum's DomQuery, - * part of YUI-Ext version 0.40, distributed under the terms of an MIT-style - * license. Please see http://www.yui-ext.com/ for more information. */ - -var Selector = Class.create({ - initialize: function(expression) { - this.expression = expression.strip(); - - if (this.shouldUseSelectorsAPI()) { - this.mode = 'selectorsAPI'; - } else if (this.shouldUseXPath()) { - this.mode = 'xpath'; - this.compileXPathMatcher(); - } else { - this.mode = "normal"; - this.compileMatcher(); - } - - }, - - shouldUseXPath: (function() { - - var IS_DESCENDANT_SELECTOR_BUGGY = (function(){ - var isBuggy = false; - if (document.evaluate && window.XPathResult) { - var el = document.createElement('div'); - el.innerHTML = '
'; - - var xpath = ".//*[local-name()='ul' or local-name()='UL']" + - "//*[local-name()='li' or local-name()='LI']"; - - var result = document.evaluate(xpath, el, null, - XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); - - isBuggy = (result.snapshotLength !== 2); - el = null; - } - return isBuggy; - })(); - - return function() { - if (!Prototype.BrowserFeatures.XPath) return false; - - var e = this.expression; - - if (Prototype.Browser.WebKit && - (e.include("-of-type") || e.include(":empty"))) - return false; - - if ((/(\[[\w-]*?:|:checked)/).test(e)) - return false; - - if (IS_DESCENDANT_SELECTOR_BUGGY) return false; - - return true; - } - - })(), - - shouldUseSelectorsAPI: function() { - if (!Prototype.BrowserFeatures.SelectorsAPI) return false; - - if (Selector.CASE_INSENSITIVE_CLASS_NAMES) return false; - - if (!Selector._div) Selector._div = new Element('div'); - - try { - Selector._div.querySelector(this.expression); - } catch(e) { - return false; - } - - return true; - }, - - compileMatcher: function() { - var e = this.expression, ps = Selector.patterns, h = Selector.handlers, - c = Selector.criteria, le, p, m, len = ps.length, name; - - if (Selector._cache[e]) { - this.matcher = Selector._cache[e]; - return; - } - - this.matcher = ["this.matcher = function(root) {", - "var r = root, h = Selector.handlers, c = false, n;"]; - - while (e && le != e && (/\S/).test(e)) { - le = e; - for (var i = 0; i"; - } -}); - -if (Prototype.BrowserFeatures.SelectorsAPI && - document.compatMode === 'BackCompat') { - Selector.CASE_INSENSITIVE_CLASS_NAMES = (function(){ - var div = document.createElement('div'), - span = document.createElement('span'); - - div.id = "prototype_test_id"; - span.className = 'Test'; - div.appendChild(span); - var isIgnored = (div.querySelector('#prototype_test_id .test') !== null); - div = span = null; - return isIgnored; - })(); -} - -Object.extend(Selector, { - _cache: { }, - - xpath: { - descendant: "//*", - child: "/*", - adjacent: "/following-sibling::*[1]", - laterSibling: '/following-sibling::*', - tagName: function(m) { - if (m[1] == '*') return ''; - return "[local-name()='" + m[1].toLowerCase() + - "' or local-name()='" + m[1].toUpperCase() + "']"; - }, - className: "[contains(concat(' ', @class, ' '), ' #{1} ')]", - id: "[@id='#{1}']", - attrPresence: function(m) { - m[1] = m[1].toLowerCase(); - return new Template("[@#{1}]").evaluate(m); - }, - attr: function(m) { - m[1] = m[1].toLowerCase(); - m[3] = m[5] || m[6]; - return new Template(Selector.xpath.operators[m[2]]).evaluate(m); - }, - pseudo: function(m) { - var h = Selector.xpath.pseudos[m[1]]; - if (!h) return ''; - if (Object.isFunction(h)) return h(m); - return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m); - }, - operators: { - '=': "[@#{1}='#{3}']", - '!=': "[@#{1}!='#{3}']", - '^=': "[starts-with(@#{1}, '#{3}')]", - '$=': "[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']", - '*=': "[contains(@#{1}, '#{3}')]", - '~=': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]", - '|=': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]" - }, - pseudos: { - 'first-child': '[not(preceding-sibling::*)]', - 'last-child': '[not(following-sibling::*)]', - 'only-child': '[not(preceding-sibling::* or following-sibling::*)]', - 'empty': "[count(*) = 0 and (count(text()) = 0)]", - 'checked': "[@checked]", - 'disabled': "[(@disabled) and (@type!='hidden')]", - 'enabled': "[not(@disabled) and (@type!='hidden')]", - 'not': function(m) { - var e = m[6], p = Selector.patterns, - x = Selector.xpath, le, v, len = p.length, name; - - var exclusion = []; - while (e && le != e && (/\S/).test(e)) { - le = e; - for (var i = 0; i= 0)]"; - return new Template(predicate).evaluate({ - fragment: fragment, a: a, b: b }); - } - } - } - }, - - criteria: { - tagName: 'n = h.tagName(n, r, "#{1}", c); c = false;', - className: 'n = h.className(n, r, "#{1}", c); c = false;', - id: 'n = h.id(n, r, "#{1}", c); c = false;', - attrPresence: 'n = h.attrPresence(n, r, "#{1}", c); c = false;', - attr: function(m) { - m[3] = (m[5] || m[6]); - return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}", c); c = false;').evaluate(m); - }, - pseudo: function(m) { - if (m[6]) m[6] = m[6].replace(/"/g, '\\"'); - return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m); - }, - descendant: 'c = "descendant";', - child: 'c = "child";', - adjacent: 'c = "adjacent";', - laterSibling: 'c = "laterSibling";' - }, - - patterns: [ - { name: 'laterSibling', re: /^\s*~\s*/ }, - { name: 'child', re: /^\s*>\s*/ }, - { name: 'adjacent', re: /^\s*\+\s*/ }, - { name: 'descendant', re: /^\s/ }, - - { name: 'tagName', re: /^\s*(\*|[\w\-]+)(\b|$)?/ }, - { name: 'id', re: /^#([\w\-\*]+)(\b|$)/ }, - { name: 'className', re: /^\.([\w\-\*]+)(\b|$)/ }, - { name: 'pseudo', re: /^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/ }, - { name: 'attrPresence', re: /^\[((?:[\w-]+:)?[\w-]+)\]/ }, - { name: 'attr', re: /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/ } - ], - - assertions: { - tagName: function(element, matches) { - return matches[1].toUpperCase() == element.tagName.toUpperCase(); - }, - - className: function(element, matches) { - return Element.hasClassName(element, matches[1]); - }, - - id: function(element, matches) { - return element.id === matches[1]; - }, - - attrPresence: function(element, matches) { - return Element.hasAttribute(element, matches[1]); - }, - - attr: function(element, matches) { - var nodeValue = Element.readAttribute(element, matches[1]); - return nodeValue && Selector.operators[matches[2]](nodeValue, matches[5] || matches[6]); - } - }, - - handlers: { - concat: function(a, b) { - for (var i = 0, node; node = b[i]; i++) - a.push(node); - return a; - }, - - mark: function(nodes) { - var _true = Prototype.emptyFunction; - for (var i = 0, node; node = nodes[i]; i++) - node._countedByPrototype = _true; - return nodes; - }, - - unmark: (function(){ - - var PROPERTIES_ATTRIBUTES_MAP = (function(){ - var el = document.createElement('div'), - isBuggy = false, - propName = '_countedByPrototype', - value = 'x' - el[propName] = value; - isBuggy = (el.getAttribute(propName) === value); - el = null; - return isBuggy; - })(); - - return PROPERTIES_ATTRIBUTES_MAP ? - function(nodes) { - for (var i = 0, node; node = nodes[i]; i++) - node.removeAttribute('_countedByPrototype'); - return nodes; - } : - function(nodes) { - for (var i = 0, node; node = nodes[i]; i++) - node._countedByPrototype = void 0; - return nodes; - } - })(), - - index: function(parentNode, reverse, ofType) { - parentNode._countedByPrototype = Prototype.emptyFunction; - if (reverse) { - for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) { - var node = nodes[i]; - if (node.nodeType == 1 && (!ofType || node._countedByPrototype)) node.nodeIndex = j++; - } - } else { - for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++) - if (node.nodeType == 1 && (!ofType || node._countedByPrototype)) node.nodeIndex = j++; - } - }, - - unique: function(nodes) { - if (nodes.length == 0) return nodes; - var results = [], n; - for (var i = 0, l = nodes.length; i < l; i++) - if (typeof (n = nodes[i])._countedByPrototype == 'undefined') { - n._countedByPrototype = Prototype.emptyFunction; - results.push(Element.extend(n)); - } - return Selector.handlers.unmark(results); - }, - - descendant: function(nodes) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) - h.concat(results, node.getElementsByTagName('*')); - return results; - }, - - child: function(nodes) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) { - for (var j = 0, child; child = node.childNodes[j]; j++) - if (child.nodeType == 1 && child.tagName != '!') results.push(child); - } - return results; - }, - - adjacent: function(nodes) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - var next = this.nextElementSibling(node); - if (next) results.push(next); - } - return results; - }, - - laterSibling: function(nodes) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) - h.concat(results, Element.nextSiblings(node)); - return results; - }, - - nextElementSibling: function(node) { - while (node = node.nextSibling) - if (node.nodeType == 1) return node; - return null; - }, - - previousElementSibling: function(node) { - while (node = node.previousSibling) - if (node.nodeType == 1) return node; - return null; - }, - - tagName: function(nodes, root, tagName, combinator) { - var uTagName = tagName.toUpperCase(); - var results = [], h = Selector.handlers; - if (nodes) { - if (combinator) { - if (combinator == "descendant") { - for (var i = 0, node; node = nodes[i]; i++) - h.concat(results, node.getElementsByTagName(tagName)); - return results; - } else nodes = this[combinator](nodes); - if (tagName == "*") return nodes; - } - for (var i = 0, node; node = nodes[i]; i++) - if (node.tagName.toUpperCase() === uTagName) results.push(node); - return results; - } else return root.getElementsByTagName(tagName); - }, - - id: function(nodes, root, id, combinator) { - var targetNode = $(id), h = Selector.handlers; - - if (root == document) { - if (!targetNode) return []; - if (!nodes) return [targetNode]; - } else { - if (!root.sourceIndex || root.sourceIndex < 1) { - var nodes = root.getElementsByTagName('*'); - for (var j = 0, node; node = nodes[j]; j++) { - if (node.id === id) return [node]; - } - } - } - - if (nodes) { - if (combinator) { - if (combinator == 'child') { - for (var i = 0, node; node = nodes[i]; i++) - if (targetNode.parentNode == node) return [targetNode]; - } else if (combinator == 'descendant') { - for (var i = 0, node; node = nodes[i]; i++) - if (Element.descendantOf(targetNode, node)) return [targetNode]; - } else if (combinator == 'adjacent') { - for (var i = 0, node; node = nodes[i]; i++) - if (Selector.handlers.previousElementSibling(targetNode) == node) - return [targetNode]; - } else nodes = h[combinator](nodes); - } - for (var i = 0, node; node = nodes[i]; i++) - if (node == targetNode) return [targetNode]; - return []; - } - return (targetNode && Element.descendantOf(targetNode, root)) ? [targetNode] : []; - }, - - className: function(nodes, root, className, combinator) { - if (nodes && combinator) nodes = this[combinator](nodes); - return Selector.handlers.byClassName(nodes, root, className); - }, - - byClassName: function(nodes, root, className) { - if (!nodes) nodes = Selector.handlers.descendant([root]); - var needle = ' ' + className + ' '; - for (var i = 0, results = [], node, nodeClassName; node = nodes[i]; i++) { - nodeClassName = node.className; - if (nodeClassName.length == 0) continue; - if (nodeClassName == className || (' ' + nodeClassName + ' ').include(needle)) - results.push(node); - } - return results; - }, - - attrPresence: function(nodes, root, attr, combinator) { - if (!nodes) nodes = root.getElementsByTagName("*"); - if (nodes && combinator) nodes = this[combinator](nodes); - var results = []; - for (var i = 0, node; node = nodes[i]; i++) - if (Element.hasAttribute(node, attr)) results.push(node); - return results; - }, - - attr: function(nodes, root, attr, value, operator, combinator) { - if (!nodes) nodes = root.getElementsByTagName("*"); - if (nodes && combinator) nodes = this[combinator](nodes); - var handler = Selector.operators[operator], results = []; - for (var i = 0, node; node = nodes[i]; i++) { - var nodeValue = Element.readAttribute(node, attr); - if (nodeValue === null) continue; - if (handler(nodeValue, value)) results.push(node); - } - return results; - }, - - pseudo: function(nodes, name, value, root, combinator) { - if (nodes && combinator) nodes = this[combinator](nodes); - if (!nodes) nodes = root.getElementsByTagName("*"); - return Selector.pseudos[name](nodes, value, root); - } - }, - - pseudos: { - 'first-child': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - if (Selector.handlers.previousElementSibling(node)) continue; - results.push(node); - } - return results; - }, - 'last-child': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - if (Selector.handlers.nextElementSibling(node)) continue; - results.push(node); - } - return results; - }, - 'only-child': function(nodes, value, root) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (!h.previousElementSibling(node) && !h.nextElementSibling(node)) - results.push(node); - return results; - }, - 'nth-child': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root); - }, - 'nth-last-child': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root, true); - }, - 'nth-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root, false, true); - }, - 'nth-last-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root, true, true); - }, - 'first-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, "1", root, false, true); - }, - 'last-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, "1", root, true, true); - }, - 'only-of-type': function(nodes, formula, root) { - var p = Selector.pseudos; - return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root); - }, - - getIndices: function(a, b, total) { - if (a == 0) return b > 0 ? [b] : []; - return $R(1, total).inject([], function(memo, i) { - if (0 == (i - b) % a && (i - b) / a >= 0) memo.push(i); - return memo; - }); - }, - - nth: function(nodes, formula, root, reverse, ofType) { - if (nodes.length == 0) return []; - if (formula == 'even') formula = '2n+0'; - if (formula == 'odd') formula = '2n+1'; - var h = Selector.handlers, results = [], indexed = [], m; - h.mark(nodes); - for (var i = 0, node; node = nodes[i]; i++) { - if (!node.parentNode._countedByPrototype) { - h.index(node.parentNode, reverse, ofType); - indexed.push(node.parentNode); - } - } - if (formula.match(/^\d+$/)) { // just a number - formula = Number(formula); - for (var i = 0, node; node = nodes[i]; i++) - if (node.nodeIndex == formula) results.push(node); - } else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b - if (m[1] == "-") m[1] = -1; - var a = m[1] ? Number(m[1]) : 1; - var b = m[2] ? Number(m[2]) : 0; - var indices = Selector.pseudos.getIndices(a, b, nodes.length); - for (var i = 0, node, l = indices.length; node = nodes[i]; i++) { - for (var j = 0; j < l; j++) - if (node.nodeIndex == indices[j]) results.push(node); - } - } - h.unmark(nodes); - h.unmark(indexed); - return results; - }, - - 'empty': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - if (node.tagName == '!' || node.firstChild) continue; - results.push(node); - } - return results; - }, - - 'not': function(nodes, selector, root) { - var h = Selector.handlers, selectorType, m; - var exclusions = new Selector(selector).findElements(root); - h.mark(exclusions); - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (!node._countedByPrototype) results.push(node); - h.unmark(exclusions); - return results; - }, - - 'enabled': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (!node.disabled && (!node.type || node.type !== 'hidden')) - results.push(node); - return results; - }, - - 'disabled': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (node.disabled) results.push(node); - return results; - }, - - 'checked': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (node.checked) results.push(node); - return results; - } - }, - - operators: { - '=': function(nv, v) { return nv == v; }, - '!=': function(nv, v) { return nv != v; }, - '^=': function(nv, v) { return nv == v || nv && nv.startsWith(v); }, - '$=': function(nv, v) { return nv == v || nv && nv.endsWith(v); }, - '*=': function(nv, v) { return nv == v || nv && nv.include(v); }, - '~=': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + ' '); }, - '|=': function(nv, v) { return ('-' + (nv || "").toUpperCase() + - '-').include('-' + (v || "").toUpperCase() + '-'); } - }, - - split: function(expression) { - var expressions = []; - expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) { - expressions.push(m[1].strip()); - }); - return expressions; - }, - - matchElements: function(elements, expression) { - var matches = $$(expression), h = Selector.handlers; - h.mark(matches); - for (var i = 0, results = [], element; element = elements[i]; i++) - if (element._countedByPrototype) results.push(element); - h.unmark(matches); - return results; - }, - - findElement: function(elements, expression, index) { - if (Object.isNumber(expression)) { - index = expression; expression = false; - } - return Selector.matchElements(elements, expression || '*')[index || 0]; - }, - - findChildElements: function(element, expressions) { - expressions = Selector.split(expressions.join(',')); - var results = [], h = Selector.handlers; - for (var i = 0, l = expressions.length, selector; i < l; i++) { - selector = new Selector(expressions[i].strip()); - h.concat(results, selector.findElements(element)); - } - return (l > 1) ? h.unique(results) : results; - } -}); - -if (Prototype.Browser.IE) { - Object.extend(Selector.handlers, { - concat: function(a, b) { - for (var i = 0, node; node = b[i]; i++) - if (node.tagName !== "!") a.push(node); - return a; - } - }); -} - -function $$() { - return Selector.findChildElements(document, $A(arguments)); -} - -var Form = { - reset: function(form) { - form = $(form); - form.reset(); - return form; - }, - - serializeElements: function(elements, options) { - if (typeof options != 'object') options = { hash: !!options }; - else if (Object.isUndefined(options.hash)) options.hash = true; - var key, value, submitted = false, submit = options.submit; - - var data = elements.inject({ }, function(result, element) { - if (!element.disabled && element.name) { - key = element.name; value = $(element).getValue(); - if (value != null && element.type != 'file' && (element.type != 'submit' || (!submitted && - submit !== false && (!submit || key == submit) && (submitted = true)))) { - if (key in result) { - if (!Object.isArray(result[key])) result[key] = [result[key]]; - result[key].push(value); - } - else result[key] = value; - } - } - return result; - }); - - return options.hash ? data : Object.toQueryString(data); - } -}; - -Form.Methods = { - serialize: function(form, options) { - return Form.serializeElements(Form.getElements(form), options); - }, - - getElements: function(form) { - var elements = $(form).getElementsByTagName('*'), - element, - arr = [ ], - serializers = Form.Element.Serializers; - for (var i = 0; element = elements[i]; i++) { - arr.push(element); - } - return arr.inject([], function(elements, child) { - if (serializers[child.tagName.toLowerCase()]) - elements.push(Element.extend(child)); - return elements; - }) - }, - - getInputs: function(form, typeName, name) { - form = $(form); - var inputs = form.getElementsByTagName('input'); - - if (!typeName && !name) return $A(inputs).map(Element.extend); - - for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) { - var input = inputs[i]; - if ((typeName && input.type != typeName) || (name && input.name != name)) - continue; - matchingInputs.push(Element.extend(input)); - } - - return matchingInputs; - }, - - disable: function(form) { - form = $(form); - Form.getElements(form).invoke('disable'); - return form; - }, - - enable: function(form) { - form = $(form); - Form.getElements(form).invoke('enable'); - return form; - }, - - findFirstElement: function(form) { - var elements = $(form).getElements().findAll(function(element) { - return 'hidden' != element.type && !element.disabled; - }); - var firstByIndex = elements.findAll(function(element) { - return element.hasAttribute('tabIndex') && element.tabIndex >= 0; - }).sortBy(function(element) { return element.tabIndex }).first(); - - return firstByIndex ? firstByIndex : elements.find(function(element) { - return /^(?:input|select|textarea)$/i.test(element.tagName); - }); - }, - - focusFirstElement: function(form) { - form = $(form); - form.findFirstElement().activate(); - return form; - }, - - request: function(form, options) { - form = $(form), options = Object.clone(options || { }); - - var params = options.parameters, action = form.readAttribute('action') || ''; - if (action.blank()) action = window.location.href; - options.parameters = form.serialize(true); - - if (params) { - if (Object.isString(params)) params = params.toQueryParams(); - Object.extend(options.parameters, params); - } - - if (form.hasAttribute('method') && !options.method) - options.method = form.method; - - return new Ajax.Request(action, options); - } -}; - -/*--------------------------------------------------------------------------*/ - - -Form.Element = { - focus: function(element) { - $(element).focus(); - return element; - }, - - select: function(element) { - $(element).select(); - return element; - } -}; - -Form.Element.Methods = { - - serialize: function(element) { - element = $(element); - if (!element.disabled && element.name) { - var value = element.getValue(); - if (value != undefined) { - var pair = { }; - pair[element.name] = value; - return Object.toQueryString(pair); - } - } - return ''; - }, - - getValue: function(element) { - element = $(element); - var method = element.tagName.toLowerCase(); - return Form.Element.Serializers[method](element); - }, - - setValue: function(element, value) { - element = $(element); - var method = element.tagName.toLowerCase(); - Form.Element.Serializers[method](element, value); - return element; - }, - - clear: function(element) { - $(element).value = ''; - return element; - }, - - present: function(element) { - return $(element).value != ''; - }, - - activate: function(element) { - element = $(element); - try { - element.focus(); - if (element.select && (element.tagName.toLowerCase() != 'input' || - !(/^(?:button|reset|submit)$/i.test(element.type)))) - element.select(); - } catch (e) { } - return element; - }, - - disable: function(element) { - element = $(element); - element.disabled = true; - return element; - }, - - enable: function(element) { - element = $(element); - element.disabled = false; - return element; - } -}; - -/*--------------------------------------------------------------------------*/ - -var Field = Form.Element; - -var $F = Form.Element.Methods.getValue; - -/*--------------------------------------------------------------------------*/ - -Form.Element.Serializers = { - input: function(element, value) { - switch (element.type.toLowerCase()) { - case 'checkbox': - case 'radio': - return Form.Element.Serializers.inputSelector(element, value); - default: - return Form.Element.Serializers.textarea(element, value); - } - }, - - inputSelector: function(element, value) { - if (Object.isUndefined(value)) return element.checked ? element.value : null; - else element.checked = !!value; - }, - - textarea: function(element, value) { - if (Object.isUndefined(value)) return element.value; - else element.value = value; - }, - - select: function(element, value) { - if (Object.isUndefined(value)) - return this[element.type == 'select-one' ? - 'selectOne' : 'selectMany'](element); - else { - var opt, currentValue, single = !Object.isArray(value); - for (var i = 0, length = element.length; i < length; i++) { - opt = element.options[i]; - currentValue = this.optionValue(opt); - if (single) { - if (currentValue == value) { - opt.selected = true; - return; - } - } - else opt.selected = value.include(currentValue); - } - } - }, - - selectOne: function(element) { - var index = element.selectedIndex; - return index >= 0 ? this.optionValue(element.options[index]) : null; - }, - - selectMany: function(element) { - var values, length = element.length; - if (!length) return null; - - for (var i = 0, values = []; i < length; i++) { - var opt = element.options[i]; - if (opt.selected) values.push(this.optionValue(opt)); - } - return values; - }, - - optionValue: function(opt) { - return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text; - } -}; - -/*--------------------------------------------------------------------------*/ - - -Abstract.TimedObserver = Class.create(PeriodicalExecuter, { - initialize: function($super, element, frequency, callback) { - $super(callback, frequency); - this.element = $(element); - this.lastValue = this.getValue(); - }, - - execute: function() { - var value = this.getValue(); - if (Object.isString(this.lastValue) && Object.isString(value) ? - this.lastValue != value : String(this.lastValue) != String(value)) { - this.callback(this.element, value); - this.lastValue = value; - } - } -}); - -Form.Element.Observer = Class.create(Abstract.TimedObserver, { - getValue: function() { - return Form.Element.getValue(this.element); - } -}); - -Form.Observer = Class.create(Abstract.TimedObserver, { - getValue: function() { - return Form.serialize(this.element); - } -}); - -/*--------------------------------------------------------------------------*/ - -Abstract.EventObserver = Class.create({ - initialize: function(element, callback) { - this.element = $(element); - this.callback = callback; - - this.lastValue = this.getValue(); - if (this.element.tagName.toLowerCase() == 'form') - this.registerFormCallbacks(); - else - this.registerCallback(this.element); - }, - - onElementEvent: function() { - var value = this.getValue(); - if (this.lastValue != value) { - this.callback(this.element, value); - this.lastValue = value; - } - }, - - registerFormCallbacks: function() { - Form.getElements(this.element).each(this.registerCallback, this); - }, - - registerCallback: function(element) { - if (element.type) { - switch (element.type.toLowerCase()) { - case 'checkbox': - case 'radio': - Event.observe(element, 'click', this.onElementEvent.bind(this)); - break; - default: - Event.observe(element, 'change', this.onElementEvent.bind(this)); - break; - } - } - } -}); - -Form.Element.EventObserver = Class.create(Abstract.EventObserver, { - getValue: function() { - return Form.Element.getValue(this.element); - } -}); - -Form.EventObserver = Class.create(Abstract.EventObserver, { - getValue: function() { - return Form.serialize(this.element); - } -}); -(function() { - - var Event = { - KEY_BACKSPACE: 8, - KEY_TAB: 9, - KEY_RETURN: 13, - KEY_ESC: 27, - KEY_LEFT: 37, - KEY_UP: 38, - KEY_RIGHT: 39, - KEY_DOWN: 40, - KEY_DELETE: 46, - KEY_HOME: 36, - KEY_END: 35, - KEY_PAGEUP: 33, - KEY_PAGEDOWN: 34, - KEY_INSERT: 45, - - cache: {} - }; - - var docEl = document.documentElement; - var MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED = 'onmouseenter' in docEl - && 'onmouseleave' in docEl; - - var _isButton; - if (Prototype.Browser.IE) { - var buttonMap = { 0: 1, 1: 4, 2: 2 }; - _isButton = function(event, code) { - return event.button === buttonMap[code]; - }; - } else if (Prototype.Browser.WebKit) { - _isButton = function(event, code) { - switch (code) { - case 0: return event.which == 1 && !event.metaKey; - case 1: return event.which == 1 && event.metaKey; - default: return false; - } - }; - } else { - _isButton = function(event, code) { - return event.which ? (event.which === code + 1) : (event.button === code); - }; - } - - function isLeftClick(event) { return _isButton(event, 0) } - - function isMiddleClick(event) { return _isButton(event, 1) } - - function isRightClick(event) { return _isButton(event, 2) } - - function element(event) { - event = Event.extend(event); - - var node = event.target, type = event.type, - currentTarget = event.currentTarget; - - if (currentTarget && currentTarget.tagName) { - if (type === 'load' || type === 'error' || - (type === 'click' && currentTarget.tagName.toLowerCase() === 'input' - && currentTarget.type === 'radio')) - node = currentTarget; - } - - if (node.nodeType == Node.TEXT_NODE) - node = node.parentNode; - - return Element.extend(node); - } - - function findElement(event, expression) { - var element = Event.element(event); - if (!expression) return element; - var elements = [element].concat(element.ancestors()); - return Selector.findElement(elements, expression, 0); - } - - function pointer(event) { - return { x: pointerX(event), y: pointerY(event) }; - } - - function pointerX(event) { - var docElement = document.documentElement, - body = document.body || { scrollLeft: 0 }; - - return event.pageX || (event.clientX + - (docElement.scrollLeft || body.scrollLeft) - - (docElement.clientLeft || 0)); - } - - function pointerY(event) { - var docElement = document.documentElement, - body = document.body || { scrollTop: 0 }; - - return event.pageY || (event.clientY + - (docElement.scrollTop || body.scrollTop) - - (docElement.clientTop || 0)); - } - - - function stop(event) { - Event.extend(event); - event.preventDefault(); - event.stopPropagation(); - - event.stopped = true; - } - - Event.Methods = { - isLeftClick: isLeftClick, - isMiddleClick: isMiddleClick, - isRightClick: isRightClick, - - element: element, - findElement: findElement, - - pointer: pointer, - pointerX: pointerX, - pointerY: pointerY, - - stop: stop - }; - - - var methods = Object.keys(Event.Methods).inject({ }, function(m, name) { - m[name] = Event.Methods[name].methodize(); - return m; - }); - - if (Prototype.Browser.IE) { - function _relatedTarget(event) { - var element; - switch (event.type) { - case 'mouseover': element = event.fromElement; break; - case 'mouseout': element = event.toElement; break; - default: return null; - } - return Element.extend(element); - } - - Object.extend(methods, { - stopPropagation: function() { this.cancelBubble = true }, - preventDefault: function() { this.returnValue = false }, - inspect: function() { return '[object Event]' } - }); - - Event.extend = function(event, element) { - if (!event) return false; - if (event._extendedByPrototype) return event; - - event._extendedByPrototype = Prototype.emptyFunction; - var pointer = Event.pointer(event); - - Object.extend(event, { - target: event.srcElement || element, - relatedTarget: _relatedTarget(event), - pageX: pointer.x, - pageY: pointer.y - }); - - return Object.extend(event, methods); - }; - } else { - Event.prototype = window.Event.prototype || document.createEvent('HTMLEvents').__proto__; - Object.extend(Event.prototype, methods); - Event.extend = Prototype.K; - } - - function _createResponder(element, eventName, handler) { - var registry = Element.retrieve(element, 'prototype_event_registry'); - - if (Object.isUndefined(registry)) { - CACHE.push(element); - registry = Element.retrieve(element, 'prototype_event_registry', $H()); - } - - var respondersForEvent = registry.get(eventName); - if (Object.isUndefined(respondersForEvent)) { - respondersForEvent = []; - registry.set(eventName, respondersForEvent); - } - - if (respondersForEvent.pluck('handler').include(handler)) return false; - - var responder; - if (eventName.include(":")) { - responder = function(event) { - if (Object.isUndefined(event.eventName)) - return false; - - if (event.eventName !== eventName) - return false; - - Event.extend(event, element); - handler.call(element, event); - }; - } else { - if (!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED && - (eventName === "mouseenter" || eventName === "mouseleave")) { - if (eventName === "mouseenter" || eventName === "mouseleave") { - responder = function(event) { - Event.extend(event, element); - - var parent = event.relatedTarget; - while (parent && parent !== element) { - try { parent = parent.parentNode; } - catch(e) { parent = element; } - } - - if (parent === element) return; - - handler.call(element, event); - }; - } - } else { - responder = function(event) { - Event.extend(event, element); - handler.call(element, event); - }; - } - } - - responder.handler = handler; - respondersForEvent.push(responder); - return responder; - } - - function _destroyCache() { - for (var i = 0, length = CACHE.length; i < length; i++) { - Event.stopObserving(CACHE[i]); - CACHE[i] = null; - } - } - - var CACHE = []; - - if (Prototype.Browser.IE) - window.attachEvent('onunload', _destroyCache); - - if (Prototype.Browser.WebKit) - window.addEventListener('unload', Prototype.emptyFunction, false); - - - var _getDOMEventName = Prototype.K; - - if (!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED) { - _getDOMEventName = function(eventName) { - var translations = { mouseenter: "mouseover", mouseleave: "mouseout" }; - return eventName in translations ? translations[eventName] : eventName; - }; - } - - function observe(element, eventName, handler) { - element = $(element); - - var responder = _createResponder(element, eventName, handler); - - if (!responder) return element; - - if (eventName.include(':')) { - if (element.addEventListener) - element.addEventListener("dataavailable", responder, false); - else { - element.attachEvent("ondataavailable", responder); - element.attachEvent("onfilterchange", responder); - } - } else { - var actualEventName = _getDOMEventName(eventName); - - if (element.addEventListener) - element.addEventListener(actualEventName, responder, false); - else - element.attachEvent("on" + actualEventName, responder); - } - - return element; - } - - function stopObserving(element, eventName, handler) { - element = $(element); - - var registry = Element.retrieve(element, 'prototype_event_registry'); - - if (Object.isUndefined(registry)) return element; - - if (eventName && !handler) { - var responders = registry.get(eventName); - - if (Object.isUndefined(responders)) return element; - - responders.each( function(r) { - Element.stopObserving(element, eventName, r.handler); - }); - return element; - } else if (!eventName) { - registry.each( function(pair) { - var eventName = pair.key, responders = pair.value; - - responders.each( function(r) { - Element.stopObserving(element, eventName, r.handler); - }); - }); - return element; - } - - var responders = registry.get(eventName); - - if (!responders) return; - - var responder = responders.find( function(r) { return r.handler === handler; }); - if (!responder) return element; - - var actualEventName = _getDOMEventName(eventName); - - if (eventName.include(':')) { - if (element.removeEventListener) - element.removeEventListener("dataavailable", responder, false); - else { - element.detachEvent("ondataavailable", responder); - element.detachEvent("onfilterchange", responder); - } - } else { - if (element.removeEventListener) - element.removeEventListener(actualEventName, responder, false); - else - element.detachEvent('on' + actualEventName, responder); - } - - registry.set(eventName, responders.without(responder)); - - return element; - } - - function fire(element, eventName, memo, bubble) { - element = $(element); - - if (Object.isUndefined(bubble)) - bubble = true; - - if (element == document && document.createEvent && !element.dispatchEvent) - element = document.documentElement; - - var event; - if (document.createEvent) { - event = document.createEvent('HTMLEvents'); - event.initEvent('dataavailable', true, true); - } else { - event = document.createEventObject(); - event.eventType = bubble ? 'ondataavailable' : 'onfilterchange'; - } - - event.eventName = eventName; - event.memo = memo || { }; - - if (document.createEvent) - element.dispatchEvent(event); - else - element.fireEvent(event.eventType, event); - - return Event.extend(event); - } - - - Object.extend(Event, Event.Methods); - - Object.extend(Event, { - fire: fire, - observe: observe, - stopObserving: stopObserving - }); - - Element.addMethods({ - fire: fire, - - observe: observe, - - stopObserving: stopObserving - }); - - Object.extend(document, { - fire: fire.methodize(), - - observe: observe.methodize(), - - stopObserving: stopObserving.methodize(), - - loaded: false - }); - - if (window.Event) Object.extend(window.Event, Event); - else window.Event = Event; -})(); - -(function() { - /* Support for the DOMContentLoaded event is based on work by Dan Webb, - Matthias Miller, Dean Edwards, John Resig, and Diego Perini. */ - - var timer; - - function fireContentLoadedEvent() { - if (document.loaded) return; - if (timer) window.clearTimeout(timer); - document.loaded = true; - document.fire('dom:loaded'); - } - - function checkReadyState() { - if (document.readyState === 'complete') { - document.stopObserving('readystatechange', checkReadyState); - fireContentLoadedEvent(); - } - } - - function pollDoScroll() { - try { document.documentElement.doScroll('left'); } - catch(e) { - timer = pollDoScroll.defer(); - return; - } - fireContentLoadedEvent(); - } - - if (document.addEventListener) { - document.addEventListener('DOMContentLoaded', fireContentLoadedEvent, false); - } else { - document.observe('readystatechange', checkReadyState); - if (window == top) - timer = pollDoScroll.defer(); - } - - Event.observe(window, 'load', fireContentLoadedEvent); -})(); - -Element.addMethods(); - -/*------------------------------- DEPRECATED -------------------------------*/ - -Hash.toQueryString = Object.toQueryString; - -var Toggle = { display: Element.toggle }; - -Element.Methods.childOf = Element.Methods.descendantOf; - -var Insertion = { - Before: function(element, content) { - return Element.insert(element, {before:content}); - }, - - Top: function(element, content) { - return Element.insert(element, {top:content}); - }, - - Bottom: function(element, content) { - return Element.insert(element, {bottom:content}); - }, - - After: function(element, content) { - return Element.insert(element, {after:content}); - } -}; - -var $continue = new Error('"throw $continue" is deprecated, use "return" instead'); - -var Position = { - includeScrollOffsets: false, - - prepare: function() { - this.deltaX = window.pageXOffset - || document.documentElement.scrollLeft - || document.body.scrollLeft - || 0; - this.deltaY = window.pageYOffset - || document.documentElement.scrollTop - || document.body.scrollTop - || 0; - }, - - within: function(element, x, y) { - if (this.includeScrollOffsets) - return this.withinIncludingScrolloffsets(element, x, y); - this.xcomp = x; - this.ycomp = y; - this.offset = Element.cumulativeOffset(element); - - return (y >= this.offset[1] && - y < this.offset[1] + element.offsetHeight && - x >= this.offset[0] && - x < this.offset[0] + element.offsetWidth); - }, - - withinIncludingScrolloffsets: function(element, x, y) { - var offsetcache = Element.cumulativeScrollOffset(element); - - this.xcomp = x + offsetcache[0] - this.deltaX; - this.ycomp = y + offsetcache[1] - this.deltaY; - this.offset = Element.cumulativeOffset(element); - - return (this.ycomp >= this.offset[1] && - this.ycomp < this.offset[1] + element.offsetHeight && - this.xcomp >= this.offset[0] && - this.xcomp < this.offset[0] + element.offsetWidth); - }, - - overlap: function(mode, element) { - if (!mode) return 0; - if (mode == 'vertical') - return ((this.offset[1] + element.offsetHeight) - this.ycomp) / - element.offsetHeight; - if (mode == 'horizontal') - return ((this.offset[0] + element.offsetWidth) - this.xcomp) / - element.offsetWidth; - }, - - - cumulativeOffset: Element.Methods.cumulativeOffset, - - positionedOffset: Element.Methods.positionedOffset, - - absolutize: function(element) { - Position.prepare(); - return Element.absolutize(element); - }, - - relativize: function(element) { - Position.prepare(); - return Element.relativize(element); - }, - - realOffset: Element.Methods.cumulativeScrollOffset, - - offsetParent: Element.Methods.getOffsetParent, - - page: Element.Methods.viewportOffset, - - clone: function(source, target, options) { - options = options || { }; - return Element.clonePosition(target, source, options); - } -}; - -/*--------------------------------------------------------------------------*/ - -if (!document.getElementsByClassName) document.getElementsByClassName = function(instanceMethods){ - function iter(name) { - return name.blank() ? null : "[contains(concat(' ', @class, ' '), ' " + name + " ')]"; - } - - instanceMethods.getElementsByClassName = Prototype.BrowserFeatures.XPath ? - function(element, className) { - className = className.toString().strip(); - var cond = /\s/.test(className) ? $w(className).map(iter).join('') : iter(className); - return cond ? document._getElementsByXPath('.//*' + cond, element) : []; - } : function(element, className) { - className = className.toString().strip(); - var elements = [], classNames = (/\s/.test(className) ? $w(className) : null); - if (!classNames && !className) return elements; - - var nodes = $(element).getElementsByTagName('*'); - className = ' ' + className + ' '; - - for (var i = 0, child, cn; child = nodes[i]; i++) { - if (child.className && (cn = ' ' + child.className + ' ') && (cn.include(className) || - (classNames && classNames.all(function(name) { - return !name.toString().blank() && cn.include(' ' + name + ' '); - })))) - elements.push(Element.extend(child)); - } - return elements; - }; - - return function(className, parentElement) { - return $(parentElement || document.body).getElementsByClassName(className); - }; -}(Element.Methods); - -/*--------------------------------------------------------------------------*/ - -Element.ClassNames = Class.create(); -Element.ClassNames.prototype = { - initialize: function(element) { - this.element = $(element); - }, - - _each: function(iterator) { - this.element.className.split(/\s+/).select(function(name) { - return name.length > 0; - })._each(iterator); - }, - - set: function(className) { - this.element.className = className; - }, - - add: function(classNameToAdd) { - if (this.include(classNameToAdd)) return; - this.set($A(this).concat(classNameToAdd).join(' ')); - }, - - remove: function(classNameToRemove) { - if (!this.include(classNameToRemove)) return; - this.set($A(this).without(classNameToRemove).join(' ')); - }, - - toString: function() { - return $A(this).join(' '); - } -}; - -Object.extend(Element.ClassNames.prototype, Enumerable); - -/*--------------------------------------------------------------------------*/ diff --git a/java-algorithm/pom.xml b/java-algorithm/pom.xml deleted file mode 100644 index 60058ae..0000000 --- a/java-algorithm/pom.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - 4.0.0 - - - graphwalker-example - org.graphwalker.example - 4.3.0 - - - java-algorithm - GraphWalker Algorithm Example - - - - org.graphwalker - graphwalker-java - ${project.version} - - - - - - - org.graphwalker - graphwalker-maven-plugin - ${project.version} - - - - test - test - - test - - - - - - - diff --git a/java-algorithm/src/main/java/com/company/MyPathGenerator.java b/java-algorithm/src/main/java/com/company/MyPathGenerator.java deleted file mode 100644 index 982436e..0000000 --- a/java-algorithm/src/main/java/com/company/MyPathGenerator.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.company; - -import org.graphwalker.core.condition.StopCondition; -import org.graphwalker.core.generator.PathGeneratorBase; -import org.graphwalker.core.machine.Context; -import org.graphwalker.core.model.Element; - -import static org.graphwalker.core.model.Edge.RuntimeEdge; -import static org.graphwalker.core.model.Vertex.RuntimeVertex; - -/** - * @author Nils Olsson - */ -public class MyPathGenerator extends PathGeneratorBase { - - private int index = 0; - - public MyPathGenerator(StopCondition stopCondition) { - setStopCondition(stopCondition); - } - - @Override - public Context getNextStep() { - Context context = getContext(); - Element element = context.getCurrentElement(); - if (null == element) { - element = context.getNextElement(); - } - if (element instanceof RuntimeVertex) { - return context.setCurrentElement(getContext().getAlgorithm(MyReverseAlgorithm.class).getEdges().get(index++)); - } else { - return context.setCurrentElement(((RuntimeEdge) element).getTargetVertex()); - } - } - - @Override - public boolean hasNextStep() { - return !getStopCondition().isFulfilled(); - } -} diff --git a/java-algorithm/src/main/java/com/company/MyReverseAlgorithm.java b/java-algorithm/src/main/java/com/company/MyReverseAlgorithm.java deleted file mode 100644 index 5fee9bb..0000000 --- a/java-algorithm/src/main/java/com/company/MyReverseAlgorithm.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.company; - -import org.graphwalker.core.algorithm.Algorithm; -import org.graphwalker.core.machine.Context; -import org.graphwalker.core.model.Edge; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Comparator; -import java.util.List; - -/** - * @author Nils Olsson - */ -public class MyReverseAlgorithm implements Algorithm { - - private final Context context; - private List edges = new ArrayList<>(); - - public MyReverseAlgorithm(Context context) { - this.context = context; - doSomeWork(); - } - - public void doSomeWork() { - edges.addAll(context.getModel().getEdges()); - Collections.sort(edges, new Comparator() { - @Override - public int compare(Edge.RuntimeEdge edge1, Edge.RuntimeEdge edge2) { - return edge2.getId().compareTo(edge1.getId()); - } - }); - } - - public List getEdges() { - return edges; - } -} diff --git a/java-algorithm/src/main/java/com/company/MyTest.java b/java-algorithm/src/main/java/com/company/MyTest.java deleted file mode 100644 index 6f5bc1f..0000000 --- a/java-algorithm/src/main/java/com/company/MyTest.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.company; - -import org.graphwalker.core.condition.EdgeCoverage; -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.core.model.Edge; -import org.graphwalker.core.model.Model; -import org.graphwalker.core.model.Vertex; -import org.graphwalker.java.annotation.GraphWalker; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - - -/** - * @author Nils Olsson - */ -@GraphWalker(pathGenerator = MyPathGenerator.class, stopCondition = EdgeCoverage.class) -public class MyTest extends ExecutionContext { - - private Logger LOG = LoggerFactory.getLogger(MyTest.class); - - public MyTest() { - Model model = new Model(); - Vertex vertex = new Vertex(); - for (int i = 0; i < 10; i++) { - model.addEdge(new Edge() - .setSourceVertex(vertex) - .setTargetVertex(vertex).setId(String.valueOf(i)) - .setName("execute1")); - } - setNextElement(vertex); - setModel(model.build()); - } - - public void execute1() { - LOG.info(getCurrentElement().getId()); - } -} diff --git a/java-algorithm/src/main/resources/logback.xml b/java-algorithm/src/main/resources/logback.xml deleted file mode 100644 index 9218b25..0000000 --- a/java-algorithm/src/main/resources/logback.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - %d{HH:mm:ss.SSS} [%thread] [%X{trace}] %-5level %logger{20} - %msg%n - - - - - - \ No newline at end of file diff --git a/java-amazon/.mvn/wrapper/MavenWrapperDownloader.java b/java-amazon/.mvn/wrapper/MavenWrapperDownloader.java deleted file mode 100644 index b901097..0000000 --- a/java-amazon/.mvn/wrapper/MavenWrapperDownloader.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2007-present the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import java.net.*; -import java.io.*; -import java.nio.channels.*; -import java.util.Properties; - -public class MavenWrapperDownloader { - - private static final String WRAPPER_VERSION = "0.5.6"; - /** - * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. - */ - private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/" - + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar"; - - /** - * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to - * use instead of the default one. - */ - private static final String MAVEN_WRAPPER_PROPERTIES_PATH = - ".mvn/wrapper/maven-wrapper.properties"; - - /** - * Path where the maven-wrapper.jar will be saved to. - */ - private static final String MAVEN_WRAPPER_JAR_PATH = - ".mvn/wrapper/maven-wrapper.jar"; - - /** - * Name of the property which should be used to override the default download url for the wrapper. - */ - private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; - - public static void main(String args[]) { - System.out.println("- Downloader started"); - File baseDirectory = new File(args[0]); - System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); - - // If the maven-wrapper.properties exists, read it and check if it contains a custom - // wrapperUrl parameter. - File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); - String url = DEFAULT_DOWNLOAD_URL; - if(mavenWrapperPropertyFile.exists()) { - FileInputStream mavenWrapperPropertyFileInputStream = null; - try { - mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); - Properties mavenWrapperProperties = new Properties(); - mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); - url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); - } catch (IOException e) { - System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); - } finally { - try { - if(mavenWrapperPropertyFileInputStream != null) { - mavenWrapperPropertyFileInputStream.close(); - } - } catch (IOException e) { - // Ignore ... - } - } - } - System.out.println("- Downloading from: " + url); - - File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); - if(!outputFile.getParentFile().exists()) { - if(!outputFile.getParentFile().mkdirs()) { - System.out.println( - "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); - } - } - System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); - try { - downloadFileFromURL(url, outputFile); - System.out.println("Done"); - System.exit(0); - } catch (Throwable e) { - System.out.println("- Error downloading"); - e.printStackTrace(); - System.exit(1); - } - } - - private static void downloadFileFromURL(String urlString, File destination) throws Exception { - if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { - String username = System.getenv("MVNW_USERNAME"); - char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); - Authenticator.setDefault(new Authenticator() { - @Override - protected PasswordAuthentication getPasswordAuthentication() { - return new PasswordAuthentication(username, password); - } - }); - } - URL website = new URL(urlString); - ReadableByteChannel rbc; - rbc = Channels.newChannel(website.openStream()); - FileOutputStream fos = new FileOutputStream(destination); - fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); - fos.close(); - rbc.close(); - } - -} diff --git a/java-amazon/.mvn/wrapper/maven-wrapper.jar b/java-amazon/.mvn/wrapper/maven-wrapper.jar deleted file mode 100644 index 2cc7d4a..0000000 Binary files a/java-amazon/.mvn/wrapper/maven-wrapper.jar and /dev/null differ diff --git a/java-amazon/.mvn/wrapper/maven-wrapper.properties b/java-amazon/.mvn/wrapper/maven-wrapper.properties deleted file mode 100644 index 642d572..0000000 --- a/java-amazon/.mvn/wrapper/maven-wrapper.properties +++ /dev/null @@ -1,2 +0,0 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar diff --git a/java-amazon/README.md b/java-amazon/README.md deleted file mode 100644 index e9a8f06..0000000 --- a/java-amazon/README.md +++ /dev/null @@ -1,9 +0,0 @@ -This is a test that runs on the Amazon web site. - -Run the test using maven: - -``` -./mvnw graphwalker:test -``` - -Documentation is here: https://github.com/GraphWalker/graphwalker-project/wiki/Amazon-Shopping-Cart diff --git a/java-amazon/mvnw b/java-amazon/mvnw deleted file mode 100755 index 41c0f0c..0000000 --- a/java-amazon/mvnw +++ /dev/null @@ -1,310 +0,0 @@ -#!/bin/sh -# ---------------------------------------------------------------------------- -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# ---------------------------------------------------------------------------- - -# ---------------------------------------------------------------------------- -# Maven Start Up Batch script -# -# Required ENV vars: -# ------------------ -# JAVA_HOME - location of a JDK home dir -# -# Optional ENV vars -# ----------------- -# M2_HOME - location of maven2's installed home dir -# MAVEN_OPTS - parameters passed to the Java VM when running Maven -# e.g. to debug Maven itself, use -# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -# MAVEN_SKIP_RC - flag to disable loading of mavenrc files -# ---------------------------------------------------------------------------- - -if [ -z "$MAVEN_SKIP_RC" ] ; then - - if [ -f /etc/mavenrc ] ; then - . /etc/mavenrc - fi - - if [ -f "$HOME/.mavenrc" ] ; then - . "$HOME/.mavenrc" - fi - -fi - -# OS specific support. $var _must_ be set to either true or false. -cygwin=false; -darwin=false; -mingw=false -case "`uname`" in - CYGWIN*) cygwin=true ;; - MINGW*) mingw=true;; - Darwin*) darwin=true - # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home - # See https://developer.apple.com/library/mac/qa/qa1170/_index.html - if [ -z "$JAVA_HOME" ]; then - if [ -x "/usr/libexec/java_home" ]; then - export JAVA_HOME="`/usr/libexec/java_home`" - else - export JAVA_HOME="/Library/Java/Home" - fi - fi - ;; -esac - -if [ -z "$JAVA_HOME" ] ; then - if [ -r /etc/gentoo-release ] ; then - JAVA_HOME=`java-config --jre-home` - fi -fi - -if [ -z "$M2_HOME" ] ; then - ## resolve links - $0 may be a link to maven's home - PRG="$0" - - # need this for relative symlinks - while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG="`dirname "$PRG"`/$link" - fi - done - - saveddir=`pwd` - - M2_HOME=`dirname "$PRG"`/.. - - # make it fully qualified - M2_HOME=`cd "$M2_HOME" && pwd` - - cd "$saveddir" - # echo Using m2 at $M2_HOME -fi - -# For Cygwin, ensure paths are in UNIX format before anything is touched -if $cygwin ; then - [ -n "$M2_HOME" ] && - M2_HOME=`cygpath --unix "$M2_HOME"` - [ -n "$JAVA_HOME" ] && - JAVA_HOME=`cygpath --unix "$JAVA_HOME"` - [ -n "$CLASSPATH" ] && - CLASSPATH=`cygpath --path --unix "$CLASSPATH"` -fi - -# For Mingw, ensure paths are in UNIX format before anything is touched -if $mingw ; then - [ -n "$M2_HOME" ] && - M2_HOME="`(cd "$M2_HOME"; pwd)`" - [ -n "$JAVA_HOME" ] && - JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" -fi - -if [ -z "$JAVA_HOME" ]; then - javaExecutable="`which javac`" - if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then - # readlink(1) is not available as standard on Solaris 10. - readLink=`which readlink` - if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then - if $darwin ; then - javaHome="`dirname \"$javaExecutable\"`" - javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" - else - javaExecutable="`readlink -f \"$javaExecutable\"`" - fi - javaHome="`dirname \"$javaExecutable\"`" - javaHome=`expr "$javaHome" : '\(.*\)/bin'` - JAVA_HOME="$javaHome" - export JAVA_HOME - fi - fi -fi - -if [ -z "$JAVACMD" ] ; then - if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - else - JAVACMD="`which java`" - fi -fi - -if [ ! -x "$JAVACMD" ] ; then - echo "Error: JAVA_HOME is not defined correctly." >&2 - echo " We cannot execute $JAVACMD" >&2 - exit 1 -fi - -if [ -z "$JAVA_HOME" ] ; then - echo "Warning: JAVA_HOME environment variable is not set." -fi - -CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher - -# traverses directory structure from process work directory to filesystem root -# first directory with .mvn subdirectory is considered project base directory -find_maven_basedir() { - - if [ -z "$1" ] - then - echo "Path not specified to find_maven_basedir" - return 1 - fi - - basedir="$1" - wdir="$1" - while [ "$wdir" != '/' ] ; do - if [ -d "$wdir"/.mvn ] ; then - basedir=$wdir - break - fi - # workaround for JBEAP-8937 (on Solaris 10/Sparc) - if [ -d "${wdir}" ]; then - wdir=`cd "$wdir/.."; pwd` - fi - # end of workaround - done - echo "${basedir}" -} - -# concatenates all lines of a file -concat_lines() { - if [ -f "$1" ]; then - echo "$(tr -s '\n' ' ' < "$1")" - fi -} - -BASE_DIR=`find_maven_basedir "$(pwd)"` -if [ -z "$BASE_DIR" ]; then - exit 1; -fi - -########################################################################################## -# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central -# This allows using the maven wrapper in projects that prohibit checking in binary data. -########################################################################################## -if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then - if [ "$MVNW_VERBOSE" = true ]; then - echo "Found .mvn/wrapper/maven-wrapper.jar" - fi -else - if [ "$MVNW_VERBOSE" = true ]; then - echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." - fi - if [ -n "$MVNW_REPOURL" ]; then - jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" - else - jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" - fi - while IFS="=" read key value; do - case "$key" in (wrapperUrl) jarUrl="$value"; break ;; - esac - done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" - if [ "$MVNW_VERBOSE" = true ]; then - echo "Downloading from: $jarUrl" - fi - wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" - if $cygwin; then - wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` - fi - - if command -v wget > /dev/null; then - if [ "$MVNW_VERBOSE" = true ]; then - echo "Found wget ... using wget" - fi - if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then - wget "$jarUrl" -O "$wrapperJarPath" - else - wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" - fi - elif command -v curl > /dev/null; then - if [ "$MVNW_VERBOSE" = true ]; then - echo "Found curl ... using curl" - fi - if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then - curl -o "$wrapperJarPath" "$jarUrl" -f - else - curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f - fi - - else - if [ "$MVNW_VERBOSE" = true ]; then - echo "Falling back to using Java to download" - fi - javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" - # For Cygwin, switch paths to Windows format before running javac - if $cygwin; then - javaClass=`cygpath --path --windows "$javaClass"` - fi - if [ -e "$javaClass" ]; then - if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then - if [ "$MVNW_VERBOSE" = true ]; then - echo " - Compiling MavenWrapperDownloader.java ..." - fi - # Compiling the Java class - ("$JAVA_HOME/bin/javac" "$javaClass") - fi - if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then - # Running the downloader - if [ "$MVNW_VERBOSE" = true ]; then - echo " - Running MavenWrapperDownloader.java ..." - fi - ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") - fi - fi - fi -fi -########################################################################################## -# End of extension -########################################################################################## - -export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} -if [ "$MVNW_VERBOSE" = true ]; then - echo $MAVEN_PROJECTBASEDIR -fi -MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" - -# For Cygwin, switch paths to Windows format before running java -if $cygwin; then - [ -n "$M2_HOME" ] && - M2_HOME=`cygpath --path --windows "$M2_HOME"` - [ -n "$JAVA_HOME" ] && - JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` - [ -n "$CLASSPATH" ] && - CLASSPATH=`cygpath --path --windows "$CLASSPATH"` - [ -n "$MAVEN_PROJECTBASEDIR" ] && - MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` -fi - -# Provide a "standardized" way to retrieve the CLI args that will -# work with both Windows and non-Windows executions. -MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" -export MAVEN_CMD_LINE_ARGS - -WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain - -exec "$JAVACMD" \ - $MAVEN_OPTS \ - -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ - "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ - ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/java-amazon/mvnw.cmd b/java-amazon/mvnw.cmd deleted file mode 100644 index 8611571..0000000 --- a/java-amazon/mvnw.cmd +++ /dev/null @@ -1,182 +0,0 @@ -@REM ---------------------------------------------------------------------------- -@REM Licensed to the Apache Software Foundation (ASF) under one -@REM or more contributor license agreements. See the NOTICE file -@REM distributed with this work for additional information -@REM regarding copyright ownership. The ASF licenses this file -@REM to you under the Apache License, Version 2.0 (the -@REM "License"); you may not use this file except in compliance -@REM with the License. You may obtain a copy of the License at -@REM -@REM http://www.apache.org/licenses/LICENSE-2.0 -@REM -@REM Unless required by applicable law or agreed to in writing, -@REM software distributed under the License is distributed on an -@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -@REM KIND, either express or implied. See the License for the -@REM specific language governing permissions and limitations -@REM under the License. -@REM ---------------------------------------------------------------------------- - -@REM ---------------------------------------------------------------------------- -@REM Maven Start Up Batch script -@REM -@REM Required ENV vars: -@REM JAVA_HOME - location of a JDK home dir -@REM -@REM Optional ENV vars -@REM M2_HOME - location of maven2's installed home dir -@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands -@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending -@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven -@REM e.g. to debug Maven itself, use -@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files -@REM ---------------------------------------------------------------------------- - -@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' -@echo off -@REM set title of command window -title %0 -@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' -@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% - -@REM set %HOME% to equivalent of $HOME -if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") - -@REM Execute a user defined script before this one -if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre -@REM check for pre script, once with legacy .bat ending and once with .cmd ending -if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" -if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" -:skipRcPre - -@setlocal - -set ERROR_CODE=0 - -@REM To isolate internal variables from possible post scripts, we use another setlocal -@setlocal - -@REM ==== START VALIDATION ==== -if not "%JAVA_HOME%" == "" goto OkJHome - -echo. -echo Error: JAVA_HOME not found in your environment. >&2 -echo Please set the JAVA_HOME variable in your environment to match the >&2 -echo location of your Java installation. >&2 -echo. -goto error - -:OkJHome -if exist "%JAVA_HOME%\bin\java.exe" goto init - -echo. -echo Error: JAVA_HOME is set to an invalid directory. >&2 -echo JAVA_HOME = "%JAVA_HOME%" >&2 -echo Please set the JAVA_HOME variable in your environment to match the >&2 -echo location of your Java installation. >&2 -echo. -goto error - -@REM ==== END VALIDATION ==== - -:init - -@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". -@REM Fallback to current working directory if not found. - -set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% -IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir - -set EXEC_DIR=%CD% -set WDIR=%EXEC_DIR% -:findBaseDir -IF EXIST "%WDIR%"\.mvn goto baseDirFound -cd .. -IF "%WDIR%"=="%CD%" goto baseDirNotFound -set WDIR=%CD% -goto findBaseDir - -:baseDirFound -set MAVEN_PROJECTBASEDIR=%WDIR% -cd "%EXEC_DIR%" -goto endDetectBaseDir - -:baseDirNotFound -set MAVEN_PROJECTBASEDIR=%EXEC_DIR% -cd "%EXEC_DIR%" - -:endDetectBaseDir - -IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig - -@setlocal EnableExtensions EnableDelayedExpansion -for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a -@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% - -:endReadAdditionalConfig - -SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" -set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" -set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain - -set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" - -FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( - IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B -) - -@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central -@REM This allows using the maven wrapper in projects that prohibit checking in binary data. -if exist %WRAPPER_JAR% ( - if "%MVNW_VERBOSE%" == "true" ( - echo Found %WRAPPER_JAR% - ) -) else ( - if not "%MVNW_REPOURL%" == "" ( - SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" - ) - if "%MVNW_VERBOSE%" == "true" ( - echo Couldn't find %WRAPPER_JAR%, downloading it ... - echo Downloading from: %DOWNLOAD_URL% - ) - - powershell -Command "&{"^ - "$webclient = new-object System.Net.WebClient;"^ - "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ - "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ - "}"^ - "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ - "}" - if "%MVNW_VERBOSE%" == "true" ( - echo Finished downloading %WRAPPER_JAR% - ) -) -@REM End of extension - -@REM Provide a "standardized" way to retrieve the CLI args that will -@REM work with both Windows and non-Windows executions. -set MAVEN_CMD_LINE_ARGS=%* - -%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* -if ERRORLEVEL 1 goto error -goto end - -:error -set ERROR_CODE=1 - -:end -@endlocal & set ERROR_CODE=%ERROR_CODE% - -if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost -@REM check for post script, once with legacy .bat ending and once with .cmd ending -if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" -if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" -:skipRcPost - -@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' -if "%MAVEN_BATCH_PAUSE%" == "on" pause - -if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% - -exit /B %ERROR_CODE% diff --git a/java-amazon/pom.xml b/java-amazon/pom.xml deleted file mode 100644 index 4083d1a..0000000 --- a/java-amazon/pom.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - 4.0.0 - - - graphwalker-example - org.graphwalker.example - 4.3.0 - - - java-amazon - GraphWalker Amazon Example - - - - org.graphwalker - graphwalker-core - ${project.version} - - - org.graphwalker - graphwalker-java - ${project.version} - - - com.codeborne - selenide - 5.18.1 - - - junit - junit - 4.13.2 - - - - - - - org.graphwalker - graphwalker-maven-plugin - ${project.version} - - - - generate-sources - generate-sources - - generate-sources - - - - - - - diff --git a/java-amazon/src/main/java/org/graphwalker/ShoppingCartTest.java b/java-amazon/src/main/java/org/graphwalker/ShoppingCartTest.java deleted file mode 100644 index 13f4a21..0000000 --- a/java-amazon/src/main/java/org/graphwalker/ShoppingCartTest.java +++ /dev/null @@ -1,90 +0,0 @@ -package org.graphwalker; - -import com.codeborne.selenide.CollectionCondition; -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.java.annotation.AfterExecution; -import org.graphwalker.java.annotation.BeforeExecution; -import org.graphwalker.java.annotation.GraphWalker; -import org.junit.Assert; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import static com.codeborne.selenide.Condition.*; -import static com.codeborne.selenide.Configuration.browser; -import static com.codeborne.selenide.Selenide.*; - -@GraphWalker() -public class ShoppingCartTest extends ExecutionContext implements ShoppingCart { - - private static final Logger logger = LoggerFactory.getLogger(ShoppingCartTest.class); - Integer numberOfAddedBooksByProgram = 0; - - @BeforeExecution - public void setup() { - logger.info("Setup happens here"); - browser = "chrome"; - } - - @AfterExecution - public void cleanup() { - logger.info("Cleanup happens here"); - } - - public void e_ClickBook() { - $$("[data-component-type='s-search-result']").findBy(text("Practical Model-Based Testing: A Tools Approach")).shouldBe(visible).click(); - } - - public void e_AddBookToCart() { - $("#mediaTab_heading_2").shouldBe(visible).click(); - $("[title='Add to Shopping Cart']").click(); - logger.debug("Number of added books by test: " + ++numberOfAddedBooksByProgram); - } - - public void v_BookInformation() { - $("#productTitle").shouldHave(text("Practical Model-Based Testing: A Tools Approach")); - } - - public void v_AddedToCart() { - $("h1.a-text-bold").shouldHave(text("Added to Cart")); - } - - public void v_SearchResult() { - $$("[data-component-type='s-search-result']").filter(visible).shouldHave(CollectionCondition.sizeGreaterThan(5)); - $$("[data-component-type='s-search-result']").findBy(text("Practical Model-Based Testing: A Tools Approach")).shouldBe(visible); - } - - public void v_ShoppingCart() { - Integer expected_num_of_books_by_graphwalker = getAttribute("num_of_books").asInt(); - - // The number of books should be equal both in the model, and in this program - Assert.assertEquals(expected_num_of_books_by_graphwalker, numberOfAddedBooksByProgram); - - - if (expected_num_of_books_by_graphwalker == 0) { - $(".sc-your-amazon-cart-is-empty").shouldHave(text("Your Amazon Cart is empty")); - return; - } - - $("h1").shouldHave(text("Shopping Cart")); - $("#sc-subtotal-label-activecart").shouldHave(text("Subtotal (" + expected_num_of_books_by_graphwalker.toString() + " item")); - } - - public void e_EnterBaseURL() { - open("http://www.amazon.com"); - } - - public void v_Amazon() { - $(".nav-search-field input[type='text']").shouldBe(visible); - } - - - public void e_SearchBook() { - $(".nav-search-field input[type='text']").shouldBe(visible); - $(".nav-search-field input[type='text']").sendKeys("'Practical Model-Based Testing: A Tools Approach'"); - $("#nav-search-submit-button").click(); - } - - public void e_ShoppingCart() { - $("#nav-cart-count-container").shouldBe(visible).click(); - } -} diff --git a/java-amazon/src/main/resources/org/graphwalker/ShoppingCart.json b/java-amazon/src/main/resources/org/graphwalker/ShoppingCart.json deleted file mode 100644 index ecb402c..0000000 --- a/java-amazon/src/main/resources/org/graphwalker/ShoppingCart.json +++ /dev/null @@ -1 +0,0 @@ -{"models":[{"name":"ShoppingCart","id":"c0bf6a8e-91ef-40db-a68a-7aa7ec1ce9b0","generator":"random(edge_coverage(100))","actions":["num_of_books = 0"],"vertices":[{"id":"n2","name":"v_Amazon","actions":[],"requirements":["UC01 2.2.1"],"properties":{"x":-10.412944615028449,"y":115.66708390015405,"description":"Verify that Amazon's home page is properly displayed."}},{"id":"n3","name":"v_SearchResult","actions":[],"requirements":["UC01 2.2.2"],"properties":{"x":-100.57134021381405,"y":275.55366784960654,"description":"Verify that in the search result list, the book 'Practical Model-Based Testing: A Tools Approach by Mark Utting and Bruno Legeard' exists."}},{"id":"n4","name":"v_BookInformation","actions":[],"requirements":["UC01 2.2.3"],"properties":{"x":287.8014072034673,"y":284.42800707215497,"description":"Verify that the page displaing detailed information regarding '\nPractical Model-Based Testing: A Tools Approach' is correct."}},{"id":"n5","name":"v_AddedToCart","actions":[],"requirements":[],"properties":{"x":328.72195483010915,"y":528.2200675843254,"description":"Verify that the page 'Shopping Cart' now displays information 'Customers Who Bought Practical Model-Based Testing: A Tools Approach Also Bought'"}},{"id":"n6","name":"v_ShoppingCart","actions":[],"requirements":["UC01 2.3"],"properties":{"x":141.72632998511904,"y":648.7913147941468,"description":"Verify that the shopping cart page is displayed properly. The correct amount of added books should be: {$num_of_books}"}}],"edges":[{"id":"e10","name":"e_SearchBook","actions":[],"requirements":[],"properties":{"description":"In the search field, enter 'Model-based testing', and press enter."},"sourceVertexId":"n4","targetVertexId":"n3"},{"id":"c2a189b6-bd93-4fa8-a32a-c5d0aafe4a0a","name":"e_EnterBaseURL","actions":[],"requirements":[],"properties":[],"sourceVertexId":"n2","targetVertexId":"n2"},{"id":"e2","name":"e_SearchBook","actions":[],"requirements":[],"properties":{"description":"In the search field, enter 'Model-based testing', and press enter."},"sourceVertexId":"n2","targetVertexId":"n3"},{"id":"e3","name":"e_ClickBook","actions":[],"requirements":[],"properties":{"description":"Click the link '\nPractical Model-Based Testing: A Tools Approach'"},"sourceVertexId":"n3","targetVertexId":"n4"},{"id":"e4","name":"e_AddBookToCart","guard":"num_of_books<=3","actions":[" num_of_books++;"],"requirements":[],"properties":{"description":"Click the 'Add to shopping cart' button."},"sourceVertexId":"n4","targetVertexId":"n5"},{"id":"e5","name":"e_ShoppingCart","actions":[],"requirements":[],"properties":{"description":"Click the 'Cart'-button."},"sourceVertexId":"n5","targetVertexId":"n6"},{"id":"e6","name":"e_ShoppingCart","actions":[],"requirements":[],"properties":{"description":"Click the 'Cart'-button."},"sourceVertexId":"n3","targetVertexId":"n6"},{"id":"e7","name":"e_ShoppingCart","actions":[],"requirements":[],"properties":{"description":"Click the 'Cart'-button."},"sourceVertexId":"n4","targetVertexId":"n6"},{"id":"e8","name":"e_SearchBook","actions":[],"requirements":[],"properties":{"description":"In the search field, enter 'Model-based testing', and press enter."},"sourceVertexId":"n6","targetVertexId":"n3"},{"id":"e9","name":"e_SearchBook","actions":[],"requirements":[],"properties":{"description":"In the search field, enter 'Model-based testing', and press enter."},"sourceVertexId":"n5","targetVertexId":"n3"}],"startElementId":"c2a189b6-bd93-4fa8-a32a-c5d0aafe4a0a"}]} \ No newline at end of file diff --git a/java-annotation/pom.xml b/java-annotation/pom.xml deleted file mode 100644 index 42032b7..0000000 --- a/java-annotation/pom.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - 4.0.0 - - - org.graphwalker.example - graphwalker-example - 4.3.0 - - - java-annotation - GraphWalker Annotation Example - - - - org.graphwalker - graphwalker-java - ${project.version} - - - junit - junit - 4.13.2 - - - - - - - org.graphwalker - graphwalker-maven-plugin - ${project.version} - - - - generate-test-sources - generate-test-sources - - generate-test-sources - - - - test - test - - test - - - - - - - diff --git a/java-annotation/src/test/java/org/graphwalker/example/CreateModelTest.java b/java-annotation/src/test/java/org/graphwalker/example/CreateModelTest.java deleted file mode 100644 index 38a0f0e..0000000 --- a/java-annotation/src/test/java/org/graphwalker/example/CreateModelTest.java +++ /dev/null @@ -1,159 +0,0 @@ -package org.graphwalker.example; - -/* - * #%L - * GraphWalker Example - * %% - * Copyright (C) 2011 - 2014 GraphWalker - * %% - * 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. - * #L% - */ - - -import org.graalvm.polyglot.Value; -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.core.model.Edge; -import org.graphwalker.core.model.Model; -import org.graphwalker.core.model.Vertex; -import org.graphwalker.java.annotation.GraphWalker; -import org.junit.Assert; - -import java.util.ArrayList; - - -/** - * @author Nils Olsson - */ -@GraphWalker(start = "init") -public class CreateModelTest extends ExecutionContext implements CreateModel { - - private Model model = new Model(); - private Edge edge; - private Vertex vertex; - - @Override - public void createVertex() { - vertex = new Vertex(); - } - - @Override - public void validateEdge() { - - } - - @Override - public void addGuard() { - - } - - @Override - public void init() { - - } - - @Override - public void removeAction() { - - } - - @Override - public void addSharedState() { - - } - - @Override - public void validateModel() { - Assert.assertEquals(get("edges"), model.getEdges().size()); - Assert.assertEquals(get("vertices"), model.getVertices().size()); - } - - @Override - public void removeRequirement() { - - } - - @Override - public void validateVertex() { - - } - - @Override - public void validateResult() { - - } - - @Override - public void createEdge() { - edge = new Edge(); - } - - @Override - public void addRequirement() { - - } - - @Override - public void buildModel() { - - } - - @Override - public void execute() { - - } - - @Override - public void removeGuard() { - - } - - @Override - public void addAction() { - - } - - @Override - public void addEdge() { - model.addEdge(edge); - } - - @Override - public void addVertex() { - model.addVertex(vertex); - } - - @Override - public void removeSharedState() { - - } - - @Override - public void validateRuntimeModel() { - - } - - private int get(String name) { - if (null != getAttribute(name)) { - return getAttribute(name).asInt(); - } - return 0; - } - -} diff --git a/java-annotation/src/test/resources/logback-test.xml b/java-annotation/src/test/resources/logback-test.xml deleted file mode 100644 index 1f5f3e8..0000000 --- a/java-annotation/src/test/resources/logback-test.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - %d{HH:mm:ss.SSS} [%thread] [%X{trace}] %-5level %logger{20} - %msg%n - - - - - - \ No newline at end of file diff --git a/java-annotation/src/test/resources/org/graphwalker/example/CreateModel.graphml b/java-annotation/src/test/resources/org/graphwalker/example/CreateModel.graphml deleted file mode 100644 index b242c47..0000000 --- a/java-annotation/src/test/resources/org/graphwalker/example/CreateModel.graphml +++ /dev/null @@ -1,487 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - validateModel - - - - - - - - - - - - - - - - - validateEdge - - - - - - - - - - - - - - - - - validateVertex - - - - - - - - - - - - - - - - - Start - - - - - - - - - - - - - - - - - validateRuntimeModel - - - - - - - - - - - - - - - - - validateResult - - - - - - - - - - - - - - - - - validateResult - - - - - - - - - - - - - - - - - - - createEdge / actions = 0; guard = false; - - - - - - - - - - - - - - - - - - - - addEdge / edges++; - - - - - - - - - - - - - - - - - - - - createVertex / shared = false; requirements = 0; - - - - - - - - - - - - - - - - - - - - addVertex / vertices++; - - - - - - - - - - - - - - - - - - init / edges = 0; vertices = 0; - - - - - - - - - - - - - - - - - - - - - removeRequirement [requirements > 0] / requirements--; - - - - - - - - - - - - - - - - - - - - addRequirement / requirements++; - - - - - - - - - - - - - - - - - - - - addSharedState [!shared] /sharder = true; - - - - - - - - - - - - - - - - - - - - removeSharedState [shared] /shared = false; - - - - - - - - - - - - - - - - - - - - addAction / actions++; - - - - - - - - - - - - - - - - - - - - removeAction / actions--; [actions > 0] - - - - - - - - - - - - - - - - - - - - addGuard [guard == false] - - - - - - - - - - - - - - - - - - - - removeGuard [guard == true] - - - - - - - - - - - - - - - - - buildModel - - - - - - - - - - - - - - - - - /* If we want to change -the runtime model, we -have to go back and -change the model */ - - - - - - - - - - - - - - - - - execute - - - - - - - - - - - - - - - - - execute - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/java-appium/README.md b/java-appium/README.md deleted file mode 100644 index a61d06a..0000000 --- a/java-appium/README.md +++ /dev/null @@ -1,71 +0,0 @@ -# A simple example using GraphWalker together with an Appium. - -[Appium](http://appium.io/) is a driver to interact with mobile app. - - -## The test - -Model - -The system under test is a simple android app called Notepad. It's packaged with the test under: - -``` -src/main/resources/Notepad.apk -``` - -The test will install the Notepad app to the target device, and start running the test. -The model to the right depicts the design of the test. The code that implements the test is: - -``` -src/main/java/org/graphwalker/appium/NotesListTest.java -``` - -The `class NotesListTest` implements the `interface NotesList'. That interface is automatically generated by GraphWalker, -either by running one of the following commands: - -``` -mvn graphwalker:generate-sources -mvn graphwalker:test -``` - -Worth noting in the code is the line with GraphWalker annotation: - -```java -@GraphWalker(value = "random(edge_coverage(100))", start = "v_NotesListView") -``` - -It does 2 things: - -1. `value = "random(edge_coverage(100))"`
-It sets the generator and the stop condition of the of the path generation of the test. `random(edge_coverage(100))` means -the the path generator is the random path generator, and the stop condition is when all edges of the graph has been visited. -2. `start = "v_NotesListView"` -Tells GraphWalker where to start the execution. `v_NotesListView` will be the first graph element to be executed. - -The above is the equivalent as running the test offline: - -``` -java -jar graphwalker-cli-3.4.2.jar offline -m NotesList.graphml "random(edge_coverage(100))" -``` - -## Steps to execute the project - -1. Install appium. On Ubuntu: - -``` -sudo apt install nodejs-legacy -sudo npm install -g appium -``` - -2. Start android emulator.
-The test is only verified running the Android emulator using Nexus 7, 2012 with API 19. -3. Start appium -4. To run the test: - -``` -git clone https://github.com/GraphWalker/graphwalker-example.git -cd graphwalker-example/java-appium -mvn graphwalker:test -``` - -The maven plugin `graphwalker:test` diff --git a/java-appium/pom.xml b/java-appium/pom.xml deleted file mode 100644 index c30802e..0000000 --- a/java-appium/pom.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - 4.0.0 - - - org.graphwalker.example - graphwalker-example - 4.3.0 - - - java-appium - GraphWalker Example - - - - org.graphwalker - graphwalker-core - ${project.version} - - - org.graphwalker - graphwalker-io - ${project.version} - - - org.graphwalker - graphwalker-java - ${project.version} - - - org.graphwalker - graphwalker-maven-plugin - ${project.version} - - - junit - junit - 4.12 - - - io.appium - java-client - 5.0.0-BETA8 - - - - - - - org.graphwalker - graphwalker-maven-plugin - ${project.version} - - - - generate-test-sources - generate-test-sources - - generate-test-sources - - - - test - test - - test - - - - - - - diff --git a/java-appium/src/main/java/org/graphwalker/appium/NotesListTest.java b/java-appium/src/main/java/org/graphwalker/appium/NotesListTest.java deleted file mode 100644 index 4184457..0000000 --- a/java-appium/src/main/java/org/graphwalker/appium/NotesListTest.java +++ /dev/null @@ -1,136 +0,0 @@ -package org.graphwalker.appium; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; - -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.java.annotation.AfterExecution; -import org.graphwalker.java.annotation.BeforeExecution; -import org.graphwalker.java.annotation.GraphWalker; -import org.junit.Assert; -import org.openqa.selenium.By; -import org.openqa.selenium.WebElement; -import org.openqa.selenium.remote.DesiredCapabilities; - -import java.io.File; -import java.net.MalformedURLException; -import java.net.URL; -import java.util.List; -import java.util.Random; -import java.util.concurrent.TimeUnit; - -import io.appium.java_client.android.AndroidDriver; -import io.appium.java_client.android.AndroidKeyCode; - -@GraphWalker(value = "random(edge_coverage(100))", start = "v_NotesListView") -public class NotesListTest extends ExecutionContext implements NotesList { - - private AndroidDriver driver; - private int expectedNumberOfNotes = 0; - - @Override - public void e_EditTitle() { - driver.pressKeyCode(AndroidKeyCode.KEYCODE_MENU); - driver.findElementsByClassName("android.widget.TextView").get(2).click(); - } - - @Override - public void e_Discard() { - driver.pressKeyCode(AndroidKeyCode.KEYCODE_MENU); - driver.findElementByClassName("android.widget.TextView").click(); - } - - @Override - public void e_GoBack() { - driver.pressKeyCode(AndroidKeyCode.KEYCODE_BACK); - } - - @Override - public void v_EditNoteView() { - WebElement notesEditor = driver.findElementByClassName("android.widget.EditText"); - Assert.assertTrue(notesEditor.isDisplayed()); - } - - @Override - public void e_GoToNewNoteView() { - driver.pressKeyCode(AndroidKeyCode.KEYCODE_MENU); - driver.findElementByClassName("android.widget.TextView").click(); - } - - @Override - public void e_Create() { - String noteName = "test+" + new Random().nextInt(); - driver.findElement(By.xpath( - "//android.widget.LinearLayout[1]/android.widget.FrameLayout[2]/android.widget.EditText[1]")) - .sendKeys( - noteName); - driver.hideKeyboard(); - driver.pressKeyCode(AndroidKeyCode.KEYCODE_BACK); - - expectedNumberOfNotes++; - } - - @Override - public void e_SelectNote() { - String FIRST_NOTE_LOCATOR = - "//android.widget.LinearLayout[1]/android.widget.FrameLayout[2]/" + - "android.widget.ListView[1]/android.widget.TextView[1]"; - - driver.findElement(By.xpath(FIRST_NOTE_LOCATOR)).click(); - } - - @Override - public void e_Done() { - driver.pressKeyCode(AndroidKeyCode.KEYCODE_BACK); - } - - @Override - public void v_EditTitleView() { - assertTrue(driver.findElement(By.className("android.widget.TextView")).getText() - .contains("Note title:")); - } - - @Override - public void v_NotesListView() { - WebElement notesList = driver.findElementByClassName("android.widget.TextView"); - assertTrue(notesList.getText().equals("Note pad")); - - List - notesInList = - driver.findElement(By.className("android.widget.ListView")) - .findElements(By.className("android.widget.TextView")); - - int actualNumberOfNotes = notesInList.size(); - assertEquals(expectedNumberOfNotes, actualNumberOfNotes); - } - - @Override - public void v_NewNoteView() { - WebElement notesEditor = driver.findElementByClassName("android.widget.EditText"); - Assert.assertTrue(notesEditor.isDisplayed()); - } - - @BeforeExecution - public void setup() { - File classpathRoot = new File(System.getProperty("user.dir")); - File appDir = new File(classpathRoot, "src/main/resources"); - File app = new File(appDir, "Notepad.apk"); - DesiredCapabilities capabilities = new DesiredCapabilities(); - capabilities.setCapability("deviceName", "Android Emulator"); - capabilities.setCapability("platformVersion", "4.4"); - capabilities.setCapability("app", app.getAbsolutePath()); - capabilities.setCapability("appPackage", "com.example.android.notepad"); - capabilities.setCapability("appActivity", ".NotesList"); - try { - driver = new AndroidDriver<>(new URL("http://127.0.0.1:4723/wd/hub"), capabilities); - } catch (MalformedURLException e) { - e.printStackTrace(); - } - driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); - } - - @AfterExecution - public void tearDown() { - driver.quit(); - } -} diff --git a/java-appium/src/main/resources/Notepad.apk b/java-appium/src/main/resources/Notepad.apk deleted file mode 100644 index ae74b32..0000000 Binary files a/java-appium/src/main/resources/Notepad.apk and /dev/null differ diff --git a/java-appium/src/main/resources/org/graphwalker/appium/NotesList.graphml b/java-appium/src/main/resources/org/graphwalker/appium/NotesList.graphml deleted file mode 100644 index 96f94d9..0000000 --- a/java-appium/src/main/resources/org/graphwalker/appium/NotesList.graphml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - v_NotesListView -INIT: numberOfNotes = 0; - - - - - - - - - - - - - - - - v_NewNoteView - - - - - - - - - - - - - - - - v_EditNoteView - - - - - - - - - - - - - - - - v_EditTitleView - - - - - - - - - - - - - - - - e_GoToNewNoteView - - - - - - - - - - - - - - - - e_Discard - - - - - - - - - - - - - - - e_Create -/numberOfNotes++; - - - - - - - - - - - - - - e_Done - - - - - - - - - - - - - - - - - - - - - e_EditTitle - - - - - - - - - - - - - - - - - - - - e_SelectNote -[numberOfNotes > 0] - - - - - - - - - - - - - - - - - - - - e_GoBack - - - - - - - - - - - - - - - diff --git a/java-appium/src/main/resources/org/graphwalker/appium/NotesList.png b/java-appium/src/main/resources/org/graphwalker/appium/NotesList.png deleted file mode 100644 index 6b5eb30..0000000 Binary files a/java-appium/src/main/resources/org/graphwalker/appium/NotesList.png and /dev/null differ diff --git a/java-dataDriven/README.md b/java-dataDriven/README.md deleted file mode 100644 index c67eb71..0000000 --- a/java-dataDriven/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# A simple example using GraphWalker with data from the code - -## to run the test - - -``` -mvn graphwalker:test -``` - -The test will use up all names in `userNames`, and when the list is exhausted, it -will set `isDone`, which is data in the model, to false. - -Since GraphWalker evaluates the conditional expressions, or guards, in the out-edges from `v_B`, - it will force GraphWalker to choose the `e_Done` edge, to the vertex `v_Done`. \ No newline at end of file diff --git a/java-dataDriven/pom.xml b/java-dataDriven/pom.xml deleted file mode 100644 index 32f8b98..0000000 --- a/java-dataDriven/pom.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - 4.0.0 - - - graphwalker-example - org.graphwalker.example - 4.3.0 - - - java-dataDriven - GraphWalker Data Driven Model Example - - - - org.graphwalker - graphwalker-core - ${project.version} - - - org.graphwalker - graphwalker-io - ${project.version} - - - org.graphwalker - graphwalker-java - ${project.version} - - - org.graphwalker - graphwalker-maven-plugin - ${project.version} - - - junit - junit - 4.13.2 - - - - - - - org.graphwalker - graphwalker-maven-plugin - ${project.version} - - - - generate-sources - generate-sources - - generate-sources - - - - - - - diff --git a/java-dataDriven/src/main/java/org/graphwalker/UsingDataFromTestImpl.java b/java-dataDriven/src/main/java/org/graphwalker/UsingDataFromTestImpl.java deleted file mode 100644 index fbe4e17..0000000 --- a/java-dataDriven/src/main/java/org/graphwalker/UsingDataFromTestImpl.java +++ /dev/null @@ -1,67 +0,0 @@ - package org.graphwalker; - - import org.graalvm.polyglot.Value; - import org.graphwalker.core.machine.ExecutionContext; - import org.graphwalker.java.annotation.GraphWalker; - - import java.util.*; - - /** - * See: http://graphwalker.org/docs/maven_archetype for more details - *

- * Implements the GraphWalker model: src/main/resources/SmallTest.graphml - * The SmallTest.graphml can be opened and edited using http://www.yworks.com/en/products/yfiles/yed/ - *

- * For convienicene, a jpg image exists side-by-side in the same folder. - *

- * The @GraphWalker annotation, has the following meaning: - * 1) value defines the generator of this test. Please read more - * on the subject at: http://graphwalker.org/docs/path_generators_and_stop_conditions - * 2) start defines the first element in the model to be executed. (Element is - * either a vertex or an edge) - *

- * The interface SmallTest, that SomeSmallTest implements, is generated by - * running: mvn graphwalker:generate-sources - * also: mvn graphwalker:test - */ -@GraphWalker() -public class UsingDataFromTestImpl extends ExecutionContext implements UsingDataFromTest { - - private Deque userNames = new LinkedList(Arrays.asList("Andy", "Trev", "Delight", "Roddy", "Sibyn", "Sydnie")); - - @Override - public void e_A() { - System.out.println("Running: e_A"); - } - - @Override - public void e_B() { - System.out.println("Running: e_B"); - } - - @Override - public void e_Done() { - System.out.println("Running: e_Done"); - } - - @Override - public void v_A() { - System.out.println("Running: v_A"); - } - - @Override - public void v_B() { - System.out.println("Running: v_B"); - if ( userNames.peek() == null ) { - setAttribute("isDone", Value.asValue(true)); - System.out.println(" no more names to test"); - return; - } - System.out.println(" using name: " + userNames.pop()); - } - - @Override - public void v_Done() { - System.out.println("Running: v_Done"); - } -} diff --git a/java-dataDriven/src/main/resources/org/graphwalker/UsingDataFromTest.json b/java-dataDriven/src/main/resources/org/graphwalker/UsingDataFromTest.json deleted file mode 100644 index 04ba237..0000000 --- a/java-dataDriven/src/main/resources/org/graphwalker/UsingDataFromTest.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "models": [ - { - "name": "UsingDataFromTest", - "id": "56b9d0ef-3803-4e82-899f-edfeb4d9fe36", - "actions": [ - "isDone = false" - ], - "vertices": [ - { - "id": "281e06eb-d93b-4d3f-a9ec-978f01004269", - "name": "v_A", - "actions": [], - "requirements": [], - "properties": { - "x": 463.921875, - "y": 264.46875 - } - }, - { - "id": "d23ed8aa-14cd-43c1-aa8c-2ded4e862ed4", - "name": "v_B", - "actions": [], - "requirements": [], - "properties": { - "x": 449.921875, - "y": 492.46875 - } - }, - { - "id": "9deac665-00f7-4967-a134-5c0a610b76f7", - "name": "v_Done", - "actions": [], - "requirements": [], - "properties": { - "x": 663.921875, - "y": 622.46875 - } - } - ], - "edges": [ - { - "id": "429c07be-85ce-451a-88a1-f4b6219a2e39", - "name": "e_B", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "281e06eb-d93b-4d3f-a9ec-978f01004269", - "targetVertexId": "d23ed8aa-14cd-43c1-aa8c-2ded4e862ed4" - }, - { - "id": "3e3647db-bd37-4ef0-9e3f-9be6fa17e116", - "name": "e_A", - "guard": "isDone == false", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "d23ed8aa-14cd-43c1-aa8c-2ded4e862ed4", - "targetVertexId": "281e06eb-d93b-4d3f-a9ec-978f01004269" - }, - { - "id": "3e6a3d83-bbb0-4e9a-92c0-1d8a454b5914", - "name": "e_Done", - "guard": "isDone == true", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "d23ed8aa-14cd-43c1-aa8c-2ded4e862ed4", - "targetVertexId": "9deac665-00f7-4967-a134-5c0a610b76f7" - } - ], - "startElementId": "281e06eb-d93b-4d3f-a9ec-978f01004269" - } - ] -} diff --git a/java-integration-test/pom.xml b/java-integration-test/pom.xml deleted file mode 100644 index 8bd212e..0000000 --- a/java-integration-test/pom.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - 4.0.0 - - - org.graphwalker.example - graphwalker-example - 4.3.0 - - - java-integration-test - GraphWalker Integration Example - - - false - - - - - org.graphwalker - graphwalker-core - ${project.version} - - - org.graphwalker - graphwalker-java - ${project.version} - - - junit - junit - 4.13.2 - - - - - - - org.graphwalker - graphwalker-maven-plugin - ${project.version} - - - - generate-test-sources - generate-test-sources - - generate-test-sources - - - - test - test - - test - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - 2.20 - - - - integration-test - verify - - - - - - - diff --git a/java-integration-test/src/main/java/org.graphwalker.example/Calculator.java b/java-integration-test/src/main/java/org.graphwalker.example/Calculator.java deleted file mode 100644 index 82633ff..0000000 --- a/java-integration-test/src/main/java/org.graphwalker.example/Calculator.java +++ /dev/null @@ -1,14 +0,0 @@ -package org.graphwalker.example; - -public class Calculator { - - private int result = 0; - - public void add(int x, int y) { - result = x + y; - } - - public int getResult() { - return result; - } -} diff --git a/java-integration-test/src/test/java/org/graphwalker/example/CalculatorAStarTest.java b/java-integration-test/src/test/java/org/graphwalker/example/CalculatorAStarTest.java deleted file mode 100644 index 5dda1fa..0000000 --- a/java-integration-test/src/test/java/org/graphwalker/example/CalculatorAStarTest.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.graphwalker.example; - -import org.graphwalker.core.condition.ReachedVertex; -import org.graphwalker.core.generator.AStarPath; -import org.graphwalker.java.annotation.GraphWalker; - -@GraphWalker(pathGenerator = AStarPath.class, stopCondition = ReachedVertex.class, stopConditionValue = "verifyResult") -public class CalculatorAStarTest extends CalculatorTest { -} diff --git a/java-integration-test/src/test/java/org/graphwalker/example/CalculatorTest.java b/java-integration-test/src/test/java/org/graphwalker/example/CalculatorTest.java deleted file mode 100644 index 88be7f8..0000000 --- a/java-integration-test/src/test/java/org/graphwalker/example/CalculatorTest.java +++ /dev/null @@ -1,25 +0,0 @@ -package org.graphwalker.example; - -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.java.annotation.GraphWalker; - -import static org.hamcrest.CoreMatchers.is; -import static org.junit.Assert.assertThat; - -@GraphWalker -public class CalculatorTest extends ExecutionContext implements CalculatorModel { - - private Calculator calculator = new Calculator(); - - @Override - public void addNumbers() { - // use the calculator and add some numbers - calculator.add(2, 2); - } - - @Override - public void verifyResult() { - // verify that the added numbers is correct - assertThat(calculator.getResult(), is(4)); - } -} diff --git a/java-integration-test/src/test/java/org/graphwalker/example/CalulatorIT.java b/java-integration-test/src/test/java/org/graphwalker/example/CalulatorIT.java deleted file mode 100644 index ff021d4..0000000 --- a/java-integration-test/src/test/java/org/graphwalker/example/CalulatorIT.java +++ /dev/null @@ -1,34 +0,0 @@ -package org.graphwalker.example; - -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.java.test.Result; -import org.graphwalker.java.test.TestExecutionException; -import org.graphwalker.java.test.TestExecutor; -import org.junit.Test; - -import java.io.File; -import java.io.IOException; -import java.util.Date; - -public class CalulatorIT { - - @Test - public void runCalculatorModel() throws Exception { - execute(CalculatorTest.class); - } - - @Test - public void runOptimizedCalculatorModel() throws Exception { - execute(CalculatorAStarTest.class); - } - - private void execute(Class test) throws IOException { - TestExecutor executor = new TestExecutor(test); - Date startTime = new Date(); - Result result = executor.execute(false); - executor.reportResults(new File("target/reports"), startTime, System.getProperties()); - if (result.hasErrors()) { - throw new TestExecutionException(); - } - } -} diff --git a/java-integration-test/src/test/resources/org/graphwalker/example/CalculatorModel.graphml b/java-integration-test/src/test/resources/org/graphwalker/example/CalculatorModel.graphml deleted file mode 100644 index e32ddfc..0000000 --- a/java-integration-test/src/test/resources/org/graphwalker/example/CalculatorModel.graphml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - Start - - - - - - - - - - - - - - - - - - verifyResult - - - - - - - - - - - - - - - - - - addNumbers - - - - - - - - - - - - - - - - diff --git a/java-petclinic/.mvn/wrapper/MavenWrapperDownloader.java b/java-petclinic/.mvn/wrapper/MavenWrapperDownloader.java deleted file mode 100644 index b901097..0000000 --- a/java-petclinic/.mvn/wrapper/MavenWrapperDownloader.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2007-present the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import java.net.*; -import java.io.*; -import java.nio.channels.*; -import java.util.Properties; - -public class MavenWrapperDownloader { - - private static final String WRAPPER_VERSION = "0.5.6"; - /** - * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. - */ - private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/" - + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar"; - - /** - * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to - * use instead of the default one. - */ - private static final String MAVEN_WRAPPER_PROPERTIES_PATH = - ".mvn/wrapper/maven-wrapper.properties"; - - /** - * Path where the maven-wrapper.jar will be saved to. - */ - private static final String MAVEN_WRAPPER_JAR_PATH = - ".mvn/wrapper/maven-wrapper.jar"; - - /** - * Name of the property which should be used to override the default download url for the wrapper. - */ - private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; - - public static void main(String args[]) { - System.out.println("- Downloader started"); - File baseDirectory = new File(args[0]); - System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); - - // If the maven-wrapper.properties exists, read it and check if it contains a custom - // wrapperUrl parameter. - File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); - String url = DEFAULT_DOWNLOAD_URL; - if(mavenWrapperPropertyFile.exists()) { - FileInputStream mavenWrapperPropertyFileInputStream = null; - try { - mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); - Properties mavenWrapperProperties = new Properties(); - mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); - url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); - } catch (IOException e) { - System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); - } finally { - try { - if(mavenWrapperPropertyFileInputStream != null) { - mavenWrapperPropertyFileInputStream.close(); - } - } catch (IOException e) { - // Ignore ... - } - } - } - System.out.println("- Downloading from: " + url); - - File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); - if(!outputFile.getParentFile().exists()) { - if(!outputFile.getParentFile().mkdirs()) { - System.out.println( - "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); - } - } - System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); - try { - downloadFileFromURL(url, outputFile); - System.out.println("Done"); - System.exit(0); - } catch (Throwable e) { - System.out.println("- Error downloading"); - e.printStackTrace(); - System.exit(1); - } - } - - private static void downloadFileFromURL(String urlString, File destination) throws Exception { - if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { - String username = System.getenv("MVNW_USERNAME"); - char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); - Authenticator.setDefault(new Authenticator() { - @Override - protected PasswordAuthentication getPasswordAuthentication() { - return new PasswordAuthentication(username, password); - } - }); - } - URL website = new URL(urlString); - ReadableByteChannel rbc; - rbc = Channels.newChannel(website.openStream()); - FileOutputStream fos = new FileOutputStream(destination); - fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); - fos.close(); - rbc.close(); - } - -} diff --git a/java-petclinic/.mvn/wrapper/maven-wrapper.jar b/java-petclinic/.mvn/wrapper/maven-wrapper.jar deleted file mode 100644 index 2cc7d4a..0000000 Binary files a/java-petclinic/.mvn/wrapper/maven-wrapper.jar and /dev/null differ diff --git a/java-petclinic/.mvn/wrapper/maven-wrapper.properties b/java-petclinic/.mvn/wrapper/maven-wrapper.properties deleted file mode 100644 index 642d572..0000000 --- a/java-petclinic/.mvn/wrapper/maven-wrapper.properties +++ /dev/null @@ -1,2 +0,0 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar diff --git a/java-petclinic/README.md b/java-petclinic/README.md deleted file mode 100644 index 33da244..0000000 --- a/java-petclinic/README.md +++ /dev/null @@ -1,18 +0,0 @@ -Get and start the PetClinic demo application -```bash -git clone https://github.com/SpringSource/spring-petclinic.git -cd spring-petclinic -git reset --hard e2fbc561309d03d92a0958f3cf59219b1fc0d985 -./mvnw spring-boot:run -``` - -To verify that PetClinic is running, open it: http://localhost:8080. It should display this: - -![alt tag](http://graphwalker.github.io/images/spring-pet-clinic.png) - -Get and run the GraphWalker test example -```bash -git clone https://github.com/GraphWalker/graphwalker-example.git -cd graphwalker-example/java-petclinic -./mvnw graphwalker:test -``` diff --git a/java-petclinic/mvnw b/java-petclinic/mvnw deleted file mode 100755 index 41c0f0c..0000000 --- a/java-petclinic/mvnw +++ /dev/null @@ -1,310 +0,0 @@ -#!/bin/sh -# ---------------------------------------------------------------------------- -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# ---------------------------------------------------------------------------- - -# ---------------------------------------------------------------------------- -# Maven Start Up Batch script -# -# Required ENV vars: -# ------------------ -# JAVA_HOME - location of a JDK home dir -# -# Optional ENV vars -# ----------------- -# M2_HOME - location of maven2's installed home dir -# MAVEN_OPTS - parameters passed to the Java VM when running Maven -# e.g. to debug Maven itself, use -# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -# MAVEN_SKIP_RC - flag to disable loading of mavenrc files -# ---------------------------------------------------------------------------- - -if [ -z "$MAVEN_SKIP_RC" ] ; then - - if [ -f /etc/mavenrc ] ; then - . /etc/mavenrc - fi - - if [ -f "$HOME/.mavenrc" ] ; then - . "$HOME/.mavenrc" - fi - -fi - -# OS specific support. $var _must_ be set to either true or false. -cygwin=false; -darwin=false; -mingw=false -case "`uname`" in - CYGWIN*) cygwin=true ;; - MINGW*) mingw=true;; - Darwin*) darwin=true - # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home - # See https://developer.apple.com/library/mac/qa/qa1170/_index.html - if [ -z "$JAVA_HOME" ]; then - if [ -x "/usr/libexec/java_home" ]; then - export JAVA_HOME="`/usr/libexec/java_home`" - else - export JAVA_HOME="/Library/Java/Home" - fi - fi - ;; -esac - -if [ -z "$JAVA_HOME" ] ; then - if [ -r /etc/gentoo-release ] ; then - JAVA_HOME=`java-config --jre-home` - fi -fi - -if [ -z "$M2_HOME" ] ; then - ## resolve links - $0 may be a link to maven's home - PRG="$0" - - # need this for relative symlinks - while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG="`dirname "$PRG"`/$link" - fi - done - - saveddir=`pwd` - - M2_HOME=`dirname "$PRG"`/.. - - # make it fully qualified - M2_HOME=`cd "$M2_HOME" && pwd` - - cd "$saveddir" - # echo Using m2 at $M2_HOME -fi - -# For Cygwin, ensure paths are in UNIX format before anything is touched -if $cygwin ; then - [ -n "$M2_HOME" ] && - M2_HOME=`cygpath --unix "$M2_HOME"` - [ -n "$JAVA_HOME" ] && - JAVA_HOME=`cygpath --unix "$JAVA_HOME"` - [ -n "$CLASSPATH" ] && - CLASSPATH=`cygpath --path --unix "$CLASSPATH"` -fi - -# For Mingw, ensure paths are in UNIX format before anything is touched -if $mingw ; then - [ -n "$M2_HOME" ] && - M2_HOME="`(cd "$M2_HOME"; pwd)`" - [ -n "$JAVA_HOME" ] && - JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" -fi - -if [ -z "$JAVA_HOME" ]; then - javaExecutable="`which javac`" - if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then - # readlink(1) is not available as standard on Solaris 10. - readLink=`which readlink` - if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then - if $darwin ; then - javaHome="`dirname \"$javaExecutable\"`" - javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" - else - javaExecutable="`readlink -f \"$javaExecutable\"`" - fi - javaHome="`dirname \"$javaExecutable\"`" - javaHome=`expr "$javaHome" : '\(.*\)/bin'` - JAVA_HOME="$javaHome" - export JAVA_HOME - fi - fi -fi - -if [ -z "$JAVACMD" ] ; then - if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - else - JAVACMD="`which java`" - fi -fi - -if [ ! -x "$JAVACMD" ] ; then - echo "Error: JAVA_HOME is not defined correctly." >&2 - echo " We cannot execute $JAVACMD" >&2 - exit 1 -fi - -if [ -z "$JAVA_HOME" ] ; then - echo "Warning: JAVA_HOME environment variable is not set." -fi - -CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher - -# traverses directory structure from process work directory to filesystem root -# first directory with .mvn subdirectory is considered project base directory -find_maven_basedir() { - - if [ -z "$1" ] - then - echo "Path not specified to find_maven_basedir" - return 1 - fi - - basedir="$1" - wdir="$1" - while [ "$wdir" != '/' ] ; do - if [ -d "$wdir"/.mvn ] ; then - basedir=$wdir - break - fi - # workaround for JBEAP-8937 (on Solaris 10/Sparc) - if [ -d "${wdir}" ]; then - wdir=`cd "$wdir/.."; pwd` - fi - # end of workaround - done - echo "${basedir}" -} - -# concatenates all lines of a file -concat_lines() { - if [ -f "$1" ]; then - echo "$(tr -s '\n' ' ' < "$1")" - fi -} - -BASE_DIR=`find_maven_basedir "$(pwd)"` -if [ -z "$BASE_DIR" ]; then - exit 1; -fi - -########################################################################################## -# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central -# This allows using the maven wrapper in projects that prohibit checking in binary data. -########################################################################################## -if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then - if [ "$MVNW_VERBOSE" = true ]; then - echo "Found .mvn/wrapper/maven-wrapper.jar" - fi -else - if [ "$MVNW_VERBOSE" = true ]; then - echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." - fi - if [ -n "$MVNW_REPOURL" ]; then - jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" - else - jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" - fi - while IFS="=" read key value; do - case "$key" in (wrapperUrl) jarUrl="$value"; break ;; - esac - done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" - if [ "$MVNW_VERBOSE" = true ]; then - echo "Downloading from: $jarUrl" - fi - wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" - if $cygwin; then - wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` - fi - - if command -v wget > /dev/null; then - if [ "$MVNW_VERBOSE" = true ]; then - echo "Found wget ... using wget" - fi - if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then - wget "$jarUrl" -O "$wrapperJarPath" - else - wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" - fi - elif command -v curl > /dev/null; then - if [ "$MVNW_VERBOSE" = true ]; then - echo "Found curl ... using curl" - fi - if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then - curl -o "$wrapperJarPath" "$jarUrl" -f - else - curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f - fi - - else - if [ "$MVNW_VERBOSE" = true ]; then - echo "Falling back to using Java to download" - fi - javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" - # For Cygwin, switch paths to Windows format before running javac - if $cygwin; then - javaClass=`cygpath --path --windows "$javaClass"` - fi - if [ -e "$javaClass" ]; then - if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then - if [ "$MVNW_VERBOSE" = true ]; then - echo " - Compiling MavenWrapperDownloader.java ..." - fi - # Compiling the Java class - ("$JAVA_HOME/bin/javac" "$javaClass") - fi - if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then - # Running the downloader - if [ "$MVNW_VERBOSE" = true ]; then - echo " - Running MavenWrapperDownloader.java ..." - fi - ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") - fi - fi - fi -fi -########################################################################################## -# End of extension -########################################################################################## - -export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} -if [ "$MVNW_VERBOSE" = true ]; then - echo $MAVEN_PROJECTBASEDIR -fi -MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" - -# For Cygwin, switch paths to Windows format before running java -if $cygwin; then - [ -n "$M2_HOME" ] && - M2_HOME=`cygpath --path --windows "$M2_HOME"` - [ -n "$JAVA_HOME" ] && - JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` - [ -n "$CLASSPATH" ] && - CLASSPATH=`cygpath --path --windows "$CLASSPATH"` - [ -n "$MAVEN_PROJECTBASEDIR" ] && - MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` -fi - -# Provide a "standardized" way to retrieve the CLI args that will -# work with both Windows and non-Windows executions. -MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" -export MAVEN_CMD_LINE_ARGS - -WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain - -exec "$JAVACMD" \ - $MAVEN_OPTS \ - -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ - "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ - ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/java-petclinic/mvnw.cmd b/java-petclinic/mvnw.cmd deleted file mode 100644 index 8611571..0000000 --- a/java-petclinic/mvnw.cmd +++ /dev/null @@ -1,182 +0,0 @@ -@REM ---------------------------------------------------------------------------- -@REM Licensed to the Apache Software Foundation (ASF) under one -@REM or more contributor license agreements. See the NOTICE file -@REM distributed with this work for additional information -@REM regarding copyright ownership. The ASF licenses this file -@REM to you under the Apache License, Version 2.0 (the -@REM "License"); you may not use this file except in compliance -@REM with the License. You may obtain a copy of the License at -@REM -@REM http://www.apache.org/licenses/LICENSE-2.0 -@REM -@REM Unless required by applicable law or agreed to in writing, -@REM software distributed under the License is distributed on an -@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -@REM KIND, either express or implied. See the License for the -@REM specific language governing permissions and limitations -@REM under the License. -@REM ---------------------------------------------------------------------------- - -@REM ---------------------------------------------------------------------------- -@REM Maven Start Up Batch script -@REM -@REM Required ENV vars: -@REM JAVA_HOME - location of a JDK home dir -@REM -@REM Optional ENV vars -@REM M2_HOME - location of maven2's installed home dir -@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands -@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending -@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven -@REM e.g. to debug Maven itself, use -@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files -@REM ---------------------------------------------------------------------------- - -@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' -@echo off -@REM set title of command window -title %0 -@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' -@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% - -@REM set %HOME% to equivalent of $HOME -if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") - -@REM Execute a user defined script before this one -if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre -@REM check for pre script, once with legacy .bat ending and once with .cmd ending -if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" -if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" -:skipRcPre - -@setlocal - -set ERROR_CODE=0 - -@REM To isolate internal variables from possible post scripts, we use another setlocal -@setlocal - -@REM ==== START VALIDATION ==== -if not "%JAVA_HOME%" == "" goto OkJHome - -echo. -echo Error: JAVA_HOME not found in your environment. >&2 -echo Please set the JAVA_HOME variable in your environment to match the >&2 -echo location of your Java installation. >&2 -echo. -goto error - -:OkJHome -if exist "%JAVA_HOME%\bin\java.exe" goto init - -echo. -echo Error: JAVA_HOME is set to an invalid directory. >&2 -echo JAVA_HOME = "%JAVA_HOME%" >&2 -echo Please set the JAVA_HOME variable in your environment to match the >&2 -echo location of your Java installation. >&2 -echo. -goto error - -@REM ==== END VALIDATION ==== - -:init - -@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". -@REM Fallback to current working directory if not found. - -set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% -IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir - -set EXEC_DIR=%CD% -set WDIR=%EXEC_DIR% -:findBaseDir -IF EXIST "%WDIR%"\.mvn goto baseDirFound -cd .. -IF "%WDIR%"=="%CD%" goto baseDirNotFound -set WDIR=%CD% -goto findBaseDir - -:baseDirFound -set MAVEN_PROJECTBASEDIR=%WDIR% -cd "%EXEC_DIR%" -goto endDetectBaseDir - -:baseDirNotFound -set MAVEN_PROJECTBASEDIR=%EXEC_DIR% -cd "%EXEC_DIR%" - -:endDetectBaseDir - -IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig - -@setlocal EnableExtensions EnableDelayedExpansion -for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a -@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% - -:endReadAdditionalConfig - -SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" -set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" -set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain - -set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" - -FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( - IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B -) - -@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central -@REM This allows using the maven wrapper in projects that prohibit checking in binary data. -if exist %WRAPPER_JAR% ( - if "%MVNW_VERBOSE%" == "true" ( - echo Found %WRAPPER_JAR% - ) -) else ( - if not "%MVNW_REPOURL%" == "" ( - SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" - ) - if "%MVNW_VERBOSE%" == "true" ( - echo Couldn't find %WRAPPER_JAR%, downloading it ... - echo Downloading from: %DOWNLOAD_URL% - ) - - powershell -Command "&{"^ - "$webclient = new-object System.Net.WebClient;"^ - "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ - "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ - "}"^ - "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ - "}" - if "%MVNW_VERBOSE%" == "true" ( - echo Finished downloading %WRAPPER_JAR% - ) -) -@REM End of extension - -@REM Provide a "standardized" way to retrieve the CLI args that will -@REM work with both Windows and non-Windows executions. -set MAVEN_CMD_LINE_ARGS=%* - -%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* -if ERRORLEVEL 1 goto error -goto end - -:error -set ERROR_CODE=1 - -:end -@endlocal & set ERROR_CODE=%ERROR_CODE% - -if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost -@REM check for post script, once with legacy .bat ending and once with .cmd ending -if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" -if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" -:skipRcPost - -@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' -if "%MAVEN_BATCH_PAUSE%" == "on" pause - -if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% - -exit /B %ERROR_CODE% diff --git a/java-petclinic/pom.xml b/java-petclinic/pom.xml deleted file mode 100644 index 4408e06..0000000 --- a/java-petclinic/pom.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - 4.0.0 - - - org.graphwalker.example - graphwalker-example - 4.3.0 - - - java-petclinic - GraphWalker Pet Clinic Example - - - - - org.graphwalker - graphwalker-maven-plugin - ${project.version} - - - - generate-sources - generate-sources - - generate-sources - - - - - - - - - - org.graphwalker - graphwalker-core - ${project.version} - - - org.graphwalker - graphwalker-java - ${project.version} - - - org.graphwalker - graphwalker-websocket - ${project.version} - - - com.codeborne - selenide - 5.18.1 - - - com.github.javafaker - javafaker - 1.0.2 - - - com.google.guava - guava - 30.1-jre - - - org.apache.commons - commons-lang3 - 3.11 - - - junit - junit - 4.13.2 - - - org.graphstream - gs-ui - 1.3 - - - xml-apis - xml-apis - - - - - org.graphstream - gs-core - 1.3 - - - diff --git a/java-petclinic/src/main/java/com/company/modelimplementations/FindOwnersTest.java b/java-petclinic/src/main/java/com/company/modelimplementations/FindOwnersTest.java deleted file mode 100644 index 99b8ce4..0000000 --- a/java-petclinic/src/main/java/com/company/modelimplementations/FindOwnersTest.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.company.modelimplementations; - - -import com.company.FindOwners; -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.java.annotation.GraphWalker; -import org.openqa.selenium.By; - -import static com.codeborne.selenide.Condition.text; -import static com.codeborne.selenide.Condition.visible; -import static com.codeborne.selenide.Selenide.*; - -/** - * Implements the model (and interface) FindOwnersSharedState - * The default path generator is Random Path. - * Stop condition is 100% coverage of all edges. - */ -@GraphWalker(value = "random(edge_coverage(100))") -public class FindOwnersTest extends ExecutionContext implements FindOwners { - - @Override - public void v_Owners() { - $(By.tagName("h2")).shouldHave(text("Owners")); - org.junit.Assert.assertTrue($$x("id('owners')/tbody/tr").size() >= 10); - } - - @Override - public void e_AddOwner() { - $("[href='/owners/new']").click(); - } - - @Override - public void v_FindOwners() { - $("h2").shouldHave(text("Find Owners")); - $("h2").shouldBe(visible); - } - - @Override - public void e_Search() { - $("#search-owner-form .btn-default").click(); - } - - @Override - public void e_FindOwners() { - $("[title='find owners']").click(); - } - - @Override - public void v_NewOwner() { - } -} diff --git a/java-petclinic/src/main/java/com/company/modelimplementations/NewOwnerTest.java b/java-petclinic/src/main/java/com/company/modelimplementations/NewOwnerTest.java deleted file mode 100644 index 6665f74..0000000 --- a/java-petclinic/src/main/java/com/company/modelimplementations/NewOwnerTest.java +++ /dev/null @@ -1,67 +0,0 @@ -package com.company.modelimplementations; - - -import com.company.NewOwner; -import com.github.javafaker.Faker; -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.java.annotation.GraphWalker; -import org.openqa.selenium.By; - -import static com.codeborne.selenide.Condition.text; -import static com.codeborne.selenide.Condition.visible; -import static com.codeborne.selenide.Selenide.$; - -/** - * Implements the model (and interface) NewOwnerSharedState - * The default path generator is Random Path. - * Stop condition is 100% coverage of all edges. - */ -@GraphWalker(value = "random(edge_coverage(100))") -public class NewOwnerTest extends ExecutionContext implements NewOwner { - - @Override - public void v_OwnerInformation() { - } - - @Override - public void e_CorrectData() { - fillOwnerData(); - $(By.id("telephone")).sendKeys(String.valueOf(new Faker().number().digits(10))); - $("button[type=\"submit\"]").click(); - } - - @Override - public void e_IncorrectData() { - fillOwnerData(); - $(By.id("telephone")).sendKeys(String.valueOf(new Faker().number().digits(20))); - $("button[type=\"submit\"]").click(); - } - - @Override - public void v_IncorrectData() { - $(By.cssSelector(".help-inline")) - .shouldHave(text("numeric value out of bounds (<10 digits>.<0 digits> expected)")); - } - - @Override - public void v_NewOwner() { - $(By.tagName("h2")).shouldHave(text("Owner")); - $("button[type=\"submit\"]").shouldBe(visible); - } - - private void fillOwnerData() { - $(By.id("firstName")).clear(); - $(By.id("firstName")).sendKeys(new Faker().name().firstName()); - - $(By.id("lastName")).clear(); - $(By.id("lastName")).sendKeys(new Faker().name().lastName()); - - $(By.id("address")).clear(); - $(By.id("address")).sendKeys(new Faker().address().fullAddress()); - - $(By.id("city")).clear(); - $(By.id("city")).sendKeys(new Faker().address().city()); - - $(By.id("telephone")).clear(); - } -} diff --git a/java-petclinic/src/main/java/com/company/modelimplementations/OwnerInformationTest.java b/java-petclinic/src/main/java/com/company/modelimplementations/OwnerInformationTest.java deleted file mode 100644 index 490ab89..0000000 --- a/java-petclinic/src/main/java/com/company/modelimplementations/OwnerInformationTest.java +++ /dev/null @@ -1,134 +0,0 @@ -package com.company.modelimplementations; - - -import com.company.OwnerInformation; -import com.github.javafaker.Faker; -import org.graalvm.polyglot.Value; -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.java.annotation.GraphWalker; -import org.openqa.selenium.By; -import org.openqa.selenium.Keys; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.concurrent.TimeUnit; - -import static com.codeborne.selenide.Condition.*; -import static com.codeborne.selenide.Selenide.*; - -/** - * Implements the model (and interface) OwnerInformationSharedState - * The default path generator is Random Path. - * Stop condition is 100% coverage of all edges. - */ -@GraphWalker(value = "random(edge_coverage(100))") -public class OwnerInformationTest extends ExecutionContext implements OwnerInformation { - - private static final Logger log = LoggerFactory.getLogger(OwnerInformationTest.class); - - /** - * This method does not only implement the verification of the vertex, it also - * fetches the value representing number of pets for the owner, and passes it - * on to GraphWalker. In the model OwnerInformationSharedState.graphml the attribute - * numOfPets decides whether the guards for the edges: - * e_AddVisit - * e_EditPet - * are opened or closed. - *

- * setAttribute is inherited from org.graphwalker.core.machine.ExecutionContext - */ - @Override - public void v_OwnerInformation() { - $(By.tagName("h2")).shouldHave(text("Owner Information")); - setAttribute("numOfPets", Value.asValue($$x("//table/tbody/tr/td//dl").size())); - log.info("Number of pets: " + getAttribute("numOfPets")); - } - - @Override - public void e_UpdatePet() { - $("button[type=\"submit\"]").click(); - } - - @Override - public void v_FindOwners() { - $(By.tagName("h2")).shouldHave(text("Find Owners")); - $(By.tagName("h2")).shouldBe(visible); - } - - @Override - public void e_EditPet() { - $(By.linkText("Edit Pet")).click(); - } - - @Override - public void e_AddNewPet() { - $(By.linkText("Add New Pet")).click(); - } - - @Override - public void e_AddVisit() { - $(By.linkText("Add Visit")).click(); - } - - @Override - public void e_FindOwners() { - $("[title='find owners']").click(); - } - - @Override - public void e_AddPetSuccessfully() { - Date date = new Faker().date().past( 365 * 20, TimeUnit.DAYS); - SimpleDateFormat sdf; - sdf = new SimpleDateFormat("yyyy-MM-dd"); - String birthData = sdf.format(date); - $(By.id("birthDate")).clear(); - $(By.id("birthDate")).sendKeys(birthData + Keys.ENTER); - - $(By.id("name")).clear(); - $(By.id("name")).sendKeys(new Faker().name().fullName()); - - $(By.id("type")).selectOption(new Faker().number().numberBetween(0,5)); - $(By.cssSelector("button[type=\"submit\"]")).click(); - } - - @Override - public void v_NewPet() { - $(By.tagName("h2")).shouldHave(text("New Pet")); - $(".has-feedback").shouldBe(visible); - } - - @Override - public void e_VisitAddedSuccessfully() { - $(By.id("description")).clear(); - $(By.id("description")).sendKeys(new Faker().lorem().word()); - $("button[type=\"submit\"]").click(); - } - - @Override - public void v_NewVisit() { - $(By.tagName("h2")).shouldHave(text("New Visit")); - } - - @Override - public void v_Pet() { - $(By.tagName("h2")).shouldHave(text("Pet")); - } - - @Override - public void e_AddPetFailed() { - $(By.id("name")).clear(); - $(By.id("birthDate")).clear(); - $(By.id("birthDate")).sendKeys("2015/02/05" + Keys.ENTER); - $(By.id("ui-datepicker-div")).shouldBe(not(visible)); - $(By.id("type")).selectOption("dog"); - $("button[type=\"submit\"]").click(); - } - - @Override - public void e_VisitAddedFailed() { - $(By.id("description")).clear(); - $("button[type=\"submit\"]").click(); - } -} diff --git a/java-petclinic/src/main/java/com/company/modelimplementations/PetClinicTest.java b/java-petclinic/src/main/java/com/company/modelimplementations/PetClinicTest.java deleted file mode 100644 index cfd70f6..0000000 --- a/java-petclinic/src/main/java/com/company/modelimplementations/PetClinicTest.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.company.modelimplementations; - - -import com.company.PetClinic; -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.java.annotation.*; - -import static com.codeborne.selenide.Condition.text; -import static com.codeborne.selenide.Condition.visible; -import static com.codeborne.selenide.Configuration.browser; -import static com.codeborne.selenide.Selenide.*; - -/** - * Implements the model (and interface) PetClinicSharedState - * The default path generator is Random Path. - * Stop condition is 100% coverage of all edges. - * The start element in the model is e_StartBrowser. - */ -@GraphWalker(value = "random(edge_coverage(100))", start = "e_StartBrowser") -public class PetClinicTest extends ExecutionContext implements PetClinic { - - @Override - public void v_FindOwners() { - } - - @Override - public void e_HomePage() { - $("[title='home page']").click(); - } - - @Override - public void e_Veterinarians() { - $("[title='veterinarians']").click(); - } - - @Override - public void v_Veterinarians() { - } - - @Override - public void e_FindOwners() { - $("[title='find owners']").click(); - } - - @Override - public void v_HomePage() { - $("h2").shouldHave(text("Welcome")); - $("h2").shouldBe(visible); - $("img.img-responsive").shouldBe(visible); - } - - @Override - public void e_StartBrowser() { - open("http://localhost:8080"); - } - - @BeforeExecution - public void setup() { - System.out.println("PetClinic: Any setup steps happens here. " + - "The annotation @BeforeExecution makes sure that before any elements in the " + - "model is called, this method is called first"); - browser = "chrome"; - } - - @AfterExecution - public void cleanup() { - System.out.println("PetClinic: Any cleanup steps happens here. " + - "The annotation @AfterExecution makes sure that after the test is done, " + - "this method is called last."); - } - - @BeforeElement - public void printBeforeElement() { - System.out.println("Before element " + getCurrentElement().getName()); - } - - @AfterElement - public void printAfterElement() { - System.out.println("After element " + getCurrentElement().getName()); - } -} diff --git a/java-petclinic/src/main/java/com/company/modelimplementations/VeterinariansTest.java b/java-petclinic/src/main/java/com/company/modelimplementations/VeterinariansTest.java deleted file mode 100644 index 8ebe973..0000000 --- a/java-petclinic/src/main/java/com/company/modelimplementations/VeterinariansTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.company.modelimplementations; - - -import com.company.Veterinarians; -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.java.annotation.GraphWalker; -import org.junit.Assert; -import org.openqa.selenium.By; - -import static com.codeborne.selenide.Condition.text; -import static com.codeborne.selenide.Selenide.$; - -/** - * Implements the model (and interface) VeterinariensSharedState - * The default path generator is Random Path. - * Stop condition is 100% coverage of all edges. - */ -@GraphWalker(value = "random(vertex_coverage(100))") -public class VeterinariansTest extends ExecutionContext implements Veterinarians { - - @Override - public void v_Veterinarians() { - $(By.tagName("h2")).shouldHave(text("VETERINARIANS")); - Assert.assertTrue($(By.id("vets")).$$x("id('vets')/tbody/tr").size() == 6); - } -} diff --git a/java-petclinic/src/main/java/com/company/observers/GraphStreamObserver.java b/java-petclinic/src/main/java/com/company/observers/GraphStreamObserver.java deleted file mode 100644 index 55d4b02..0000000 --- a/java-petclinic/src/main/java/com/company/observers/GraphStreamObserver.java +++ /dev/null @@ -1,113 +0,0 @@ -package com.company.observers; - -import org.graphstream.graph.Edge; -import org.graphstream.graph.Graph; -import org.graphstream.graph.Node; -import org.graphwalker.core.event.EventType; -import org.graphwalker.core.event.Observer; -import org.graphwalker.core.machine.Context; -import org.graphwalker.core.machine.Machine; -import org.graphwalker.core.model.Edge.RuntimeEdge; -import org.graphwalker.core.model.Element; -import org.graphwalker.core.model.Vertex.RuntimeVertex; - -/** - * @author Nils Olsson - */ -public class GraphStreamObserver implements Observer { - - private final Graph graph; - private Element lastElement = null; - private Context lastContext = null; - - private static String stylesheet = "" + - "node {" + - " shape: rounded-box;" + - " fill-color: grey;" + - " fill-mode: dyn-plain;" + - " size-mode: fit;" + - "}" + - "node.active {" + - " fill-color: green;" + - " size:40px;" + - "}" + - "edge {" + - " shape: cubic-curve;" + - " size: 1px;" + - " arrow-shape: arrow;" + - "}" + - "edge.active {" + - " fill-color: green;" + - " size: 5px;" + - "}"; - - public GraphStreamObserver(Graph graph) { - this.graph = graph; - this.graph.addAttribute("ui.quality"); - this.graph.addAttribute("ui.antialias"); - this.graph.addAttribute("ui.stylesheet", stylesheet); - } - - @Override - public void update(Machine machine, Element element, EventType eventType) { - if (EventType.BEFORE_ELEMENT.equals(eventType)) { - - if (lastElement != null) { - if (lastElement instanceof RuntimeVertex) { - graph.getNode(getId(lastContext, lastElement)).removeAttribute("ui.class"); - } else { - graph.getEdge(getId(lastContext, lastElement)).removeAttribute("ui.class"); - } - } - - if (element instanceof RuntimeVertex) { - RuntimeVertex vertex = (RuntimeVertex) element; - if (null == graph.getNode(getId(machine.getCurrentContext(), vertex))) { - Node node = graph.addNode(getId(machine.getCurrentContext(), vertex)); - node.addAttribute("ui.label", vertex.getName()); - if (vertex.hasSharedState()) { - node.addAttribute("sharedState", vertex.getSharedState()); - } - } - graph.getNode(getId(machine.getCurrentContext(), vertex)).addAttribute("ui.class", "active"); - - // Check whether we should draw an edge between 2 shared vertices - if (vertex.hasSharedState() && - lastElement instanceof RuntimeVertex && - ((RuntimeVertex) lastElement).hasSharedState() && - machine.getCurrentContext() != lastContext) { - if (null == graph.getEdge(getId(lastContext, lastElement) + getId(machine.getCurrentContext(), vertex))) { - graph.addEdge(getId(lastContext, lastElement) + getId(machine.getCurrentContext(), vertex), - (Node)graph.getNode(getId(lastContext, lastElement)), - (Node)graph.getNode(getId(machine.getCurrentContext(), vertex)), true); - } - } - } else { - RuntimeEdge edge = (RuntimeEdge) element; - if (null == graph.getEdge(getId(machine.getCurrentContext(), edge))) { - String source; - if (null == edge.getSourceVertex() && null == graph.getEdge("Start")) { - Node node = graph.addNode("Start"); - node.addAttribute("ui.label", "Start"); - source = "Start"; - } else { - source = getId(machine.getCurrentContext(), edge.getSourceVertex()); - } - if (null == graph.getNode(getId(machine.getCurrentContext(), edge.getTargetVertex()))) { - Node node = graph.addNode(getId(machine.getCurrentContext(), edge.getTargetVertex())); - node.addAttribute("ui.label", edge.getTargetVertex().getName()); - } - Edge arc = graph.addEdge(getId(machine.getCurrentContext(), edge), source, getId(machine.getCurrentContext(), edge.getTargetVertex()), true); - arc.addAttribute("ui.label", edge.getName()); - } - graph.getEdge(getId(machine.getCurrentContext(), edge)).addAttribute("ui.class", "active"); - } - lastElement = element; - lastContext = machine.getCurrentContext(); - } - } - - private String getId(Context context, Element element) { - return context.toString() + element.getId(); - } -} diff --git a/java-petclinic/src/main/java/com/company/runners/GraphStreamApplication.java b/java-petclinic/src/main/java/com/company/runners/GraphStreamApplication.java deleted file mode 100644 index 5936055..0000000 --- a/java-petclinic/src/main/java/com/company/runners/GraphStreamApplication.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.company.runners; - -import com.company.modelimplementations.*; -import com.company.observers.GraphStreamObserver; -import org.graphstream.graph.Graph; -import org.graphstream.graph.implementations.MultiGraph; -import org.graphwalker.core.event.Observer; -import org.graphwalker.java.test.Executor; -import org.graphwalker.java.test.Result; -import org.graphwalker.java.test.TestExecutor; - -import java.io.IOException; - -/** - * @author Nils Olsson - */ -public class GraphStreamApplication { - - public static void main(String[] args) throws IOException { - System.setProperty("org.graphstream.ui.renderer", - "org.graphstream.ui.j2dviewer.J2DGraphRenderer"); - Graph graph = new MultiGraph("GraphWalker MeetUp"); - graph.display(true); - Executor executor = new TestExecutor(PetClinicTest.class, - FindOwnersTest.class, - NewOwnerTest.class, - OwnerInformationTest.class, - VeterinariansTest.class); - Observer observer = new GraphStreamObserver(graph); - executor.getMachine().addObserver(observer); - - Result result = executor.execute(true); - if (result.hasErrors()) { - for (String error : result.getErrors()) { - System.out.println(error); - } - } - System.out.println("Done: [" + result.getResults().toString(2) + "]"); - } -} diff --git a/java-petclinic/src/main/java/com/company/runners/WebSocketApplication.java b/java-petclinic/src/main/java/com/company/runners/WebSocketApplication.java deleted file mode 100644 index 8cae0b9..0000000 --- a/java-petclinic/src/main/java/com/company/runners/WebSocketApplication.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.company.runners; - -import com.company.modelimplementations.*; -import org.graphwalker.java.test.Executor; -import org.graphwalker.java.test.Result; -import org.graphwalker.java.test.TestExecutor; -import org.graphwalker.websocket.WebSocketServer; - -import java.io.IOException; - - -/** - * @author Nils Olsson - */ -public class WebSocketApplication { - - public static void main(String[] args) throws IOException { - Executor executor = new TestExecutor(PetClinicTest.class, - FindOwnersTest.class, - NewOwnerTest.class, - OwnerInformationTest.class, - VeterinariansTest.class); - - WebSocketServer server = new WebSocketServer(8887, executor.getMachine()); - server.start(); - - Result result = executor.execute(true); - if (result.hasErrors()) { - for (String error : result.getErrors()) { - System.out.println(error); - } - } - System.out.println("Done: [" + result.getResults().toString(2) + "]"); - } -} diff --git a/java-petclinic/src/main/resources/com/company/PetClinic.json b/java-petclinic/src/main/resources/com/company/PetClinic.json deleted file mode 100644 index fceb457..0000000 --- a/java-petclinic/src/main/resources/com/company/PetClinic.json +++ /dev/null @@ -1,430 +0,0 @@ -{ - "models": [ - { - "name": "FindOwners", - "id": "476fb419-3d7d-4492-802e-6695fe93f595", - "generator": "random(edge_coverage(100))", - "actions": [], - "vertices": [ - { - "id": "b53814ec-468c-11e7-a919-92ebcb67fe33", - "name": "v_FindOwners", - "sharedState": "FindOwners", - "actions": [], - "requirements": [], - "properties": { - "x": 0, - "y": 0 - } - }, - { - "id": "dcb0e896-468c-11e7-a919-92ebcb67fe33", - "name": "v_NewOwner", - "sharedState": "NewOwner", - "actions": [], - "requirements": [], - "properties": { - "x": 120.65625, - "y": -157.8125 - } - }, - { - "id": "dcb0f200-468c-11e7-a919-92ebcb67fe33", - "name": "v_Owners", - "actions": [], - "requirements": [], - "properties": { - "x": -219.34375, - "y": -187.8125 - } - } - ], - "edges": [ - { - "id": "dcb0fb88-468c-11e7-a919-92ebcb67fe33", - "name": "e_AddOwner", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "b53814ec-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0e896-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "dcb0fd5e-468c-11e7-a919-92ebcb67fe33", - "name": "e_FindOwners", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0e896-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "b53814ec-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "dcb0fe62-468c-11e7-a919-92ebcb67fe33", - "name": "e_Search", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "b53814ec-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0f200-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "dcb0ff34-468c-11e7-a919-92ebcb67fe33", - "name": "e_FindOwners", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0f200-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "b53814ec-468c-11e7-a919-92ebcb67fe33" - } - ], - "startElementId": "32ea3d10-789a-11ea-8c87-010078a2bc20" - }, - { - "name": "NewOwner", - "id": "b23d193c-287a-4eb9-a318-52ead7680ff7", - "generator": "random(edge_coverage(100))", - "actions": [], - "vertices": [ - { - "id": "dcb0d798-468c-11e7-a919-92ebcb67fe33", - "name": "v_NewOwner", - "sharedState": "NewOwner", - "actions": [], - "requirements": [], - "properties": { - "x": 0, - "y": 0 - } - }, - { - "id": "dcb0eab2-468c-11e7-a919-92ebcb67fe33", - "name": "v_IncorrectData", - "actions": [], - "requirements": [], - "properties": { - "x": 131.65625, - "y": -205.3125 - } - }, - { - "id": "dcb0f3c2-468c-11e7-a919-92ebcb67fe33", - "name": "v_OwnerInformation", - "sharedState": "OwnerInformation", - "actions": [], - "requirements": [], - "properties": { - "x": -284.34375, - "y": -143.3125 - } - } - ], - "edges": [ - { - "id": "dcb104e8-468c-11e7-a919-92ebcb67fe33", - "name": "e_IncorrectData", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0d798-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0eab2-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "dcb10736-468c-11e7-a919-92ebcb67fe33", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0eab2-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0d798-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "dcb10812-468c-11e7-a919-92ebcb67fe33", - "name": "e_CorrectData", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0d798-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0f3c2-468c-11e7-a919-92ebcb67fe33" - } - ], - "startElementId": "32ea3d10-789a-11ea-8c87-010078a2bc20" - }, - { - "name": "OwnerInformation", - "id": "5f1149c3-2853-47e6-838d-691bf30406a8", - "generator": "random(edge_coverage(100))", - "actions": [ - "numOfPets=0;" - ], - "vertices": [ - { - "id": "dcb0dba8-468c-11e7-a919-92ebcb67fe33", - "name": "v_OwnerInformation", - "sharedState": "OwnerInformation", - "actions": [], - "requirements": [], - "properties": { - "x": -23.34375, - "y": -51.8125 - } - }, - { - "id": "dcb0ebb6-468c-11e7-a919-92ebcb67fe33", - "name": "v_NewPet", - "actions": [], - "requirements": [], - "properties": { - "x": -27.34375, - "y": 118.1875 - } - }, - { - "id": "dcb0f8a4-468c-11e7-a919-92ebcb67fe33", - "name": "v_Pet", - "actions": [], - "requirements": [], - "properties": { - "x": -317.34375, - "y": 7.1875 - } - }, - { - "id": "971ec0b8-468d-11e7-a919-92ebcb67fe33", - "name": "v_NewVisit", - "actions": [], - "requirements": [], - "properties": { - "x": 139.65625, - "y": -195.8125 - } - }, - { - "id": "971ec57c-468d-11e7-a919-92ebcb67fe33", - "name": "v_FindOwners", - "sharedState": "FindOwners", - "actions": [], - "requirements": [], - "properties": { - "x": -270.34375, - "y": -181.8125 - } - } - ], - "edges": [ - { - "id": "971ec838-468d-11e7-a919-92ebcb67fe33", - "name": "e_AddPetSuccessfully", - "actions": [ - " numOfPets++;" - ], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0ebb6-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0dba8-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ecaa4-468d-11e7-a919-92ebcb67fe33", - "name": "e_AddNewPet", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0dba8-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0ebb6-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ecca2-468d-11e7-a919-92ebcb67fe33", - "name": "e_EditPet", - "guard": "numOfPets>0", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0dba8-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0f8a4-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ece78-468d-11e7-a919-92ebcb67fe33", - "name": "e_UpdatePet", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0f8a4-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0dba8-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ed0b2-468d-11e7-a919-92ebcb67fe33", - "name": "e_AddPetFailed", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0ebb6-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0ebb6-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ed3c8-468d-11e7-a919-92ebcb67fe33", - "name": "e_AddVisit", - "guard": "numOfPets>0", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0dba8-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "971ec0b8-468d-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ed53a-468d-11e7-a919-92ebcb67fe33", - "name": "e_VisitAddedSuccessfully", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "971ec0b8-468d-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0dba8-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ed738-468d-11e7-a919-92ebcb67fe33", - "name": "e_VisitAddedFailed", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "971ec0b8-468d-11e7-a919-92ebcb67fe33", - "targetVertexId": "971ec0b8-468d-11e7-a919-92ebcb67fe33" - }, - { - "id": "971edad0-468d-11e7-a919-92ebcb67fe33", - "name": "e_FindOwners", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0dba8-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "971ec57c-468d-11e7-a919-92ebcb67fe33" - } - ], - "startElementId": "32ea3d10-789a-11ea-8c87-010078a2bc20" - }, - { - "name": "PetClinic", - "id": "3f6b365f-7011-4db6-b0cc-e19aa453d9b8", - "generator": "random(edge_coverage(100))", - "actions": [], - "vertices": [ - { - "id": "dcb0dde2-468c-11e7-a919-92ebcb67fe33", - "name": "v_HomePage", - "sharedState": "HomePage", - "actions": [], - "requirements": [], - "properties": { - "x": 0, - "y": 0 - } - }, - { - "id": "dcb0ef4e-468c-11e7-a919-92ebcb67fe33", - "name": "v_FindOwners", - "sharedState": "FindOwners", - "actions": [], - "requirements": [], - "properties": { - "x": 112.65625, - "y": -180.8125 - } - }, - { - "id": "dcb0f8a5-468c-11e7-a919-92ebcb67fe33", - "name": "v_Veterinarians", - "sharedState": "Veterinarians", - "actions": [], - "requirements": [], - "properties": { - "x": -246.34375, - "y": -153.8125 - } - } - ], - "edges": [ - { - "id": "971edcce-468d-11e7-a919-92ebcb67fe33", - "name": "e_FindOwners", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0dde2-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0ef4e-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ede36-468d-11e7-a919-92ebcb67fe33", - "name": "e_HomePage", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0ef4e-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0dde2-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ee142-468d-11e7-a919-92ebcb67fe33", - "name": "e_Veterinarians", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0dde2-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0f8a5-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ee2b4-468d-11e7-a919-92ebcb67fe33", - "name": "e_HomePage", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0f8a5-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0dde2-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ee5c0-468d-11e7-a919-92ebcb67fe33", - "name": "e_Veterinarians", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0ef4e-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0f8a5-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "971ee732-468d-11e7-a919-92ebcb67fe33", - "name": "e_FindOwners", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0f8a5-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0ef4e-468c-11e7-a919-92ebcb67fe33" - }, - { - "id": "32ea3d10-789a-11ea-8c87-010078a2bc20", - "name": "e_StartBrowser", - "actions": [], - "requirements": [], - "properties": [], - "sourceVertexId": "dcb0dde2-468c-11e7-a919-92ebcb67fe33", - "targetVertexId": "dcb0dde2-468c-11e7-a919-92ebcb67fe33" - } - ], - "startElementId": "32ea3d10-789a-11ea-8c87-010078a2bc20" - }, - { - "name": "Veterinarians", - "id": "368a9635-c59a-4285-ad01-cf75b0baa978", - "generator": "random(vertex_coverage(100))", - "actions": [], - "vertices": [ - { - "id": "dcb0defa-468c-11e7-a919-92ebcb67fe33", - "name": "v_Veterinarians", - "sharedState": "Veterinarians", - "actions": [], - "requirements": [], - "properties": { - "x": 0, - "y": 0 - } - } - ], - "edges": [], - "startElementId": "32ea3d10-789a-11ea-8c87-010078a2bc20" - } - ] -} \ No newline at end of file diff --git a/java-plugin-generator/.vscode/settings.json b/java-plugin-generator/.vscode/settings.json new file mode 100644 index 0000000..c5f3f6b --- /dev/null +++ b/java-plugin-generator/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "interactive" +} \ No newline at end of file diff --git a/java-plugin-generator/pom.xml b/java-plugin-generator/pom.xml index 17f3fdb..79adf1e 100644 --- a/java-plugin-generator/pom.xml +++ b/java-plugin-generator/pom.xml @@ -19,6 +19,21 @@ graphwalker-core ${project.version} + + com.googlecode.json-simple + json-simple + 1.1.1 + + + org.json + json + 20200518 + + + com.google.code.gson + gson + 2.8.9 + - + diff --git a/java-plugin-generator/src/main/java/com/mycompany/lib/Edge.java b/java-plugin-generator/src/main/java/com/mycompany/lib/Edge.java new file mode 100644 index 0000000..1ed23b5 --- /dev/null +++ b/java-plugin-generator/src/main/java/com/mycompany/lib/Edge.java @@ -0,0 +1,37 @@ +package com.mycompany.lib; + +public class Edge { + + private String name; + private String id; + private String sourceVertexId; + private String targetVertexId; + + public String getSourceVertexId() { + return sourceVertexId; + } + + public String getTargetVertexId() { + return targetVertexId; + } + + public void setTargetVertexId(String targetVertexId) { + this.targetVertexId = targetVertexId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } +} diff --git a/java-plugin-generator/src/main/java/com/mycompany/lib/Model.java b/java-plugin-generator/src/main/java/com/mycompany/lib/Model.java new file mode 100644 index 0000000..2275c6c --- /dev/null +++ b/java-plugin-generator/src/main/java/com/mycompany/lib/Model.java @@ -0,0 +1,72 @@ +package com.mycompany.lib; + +import java.util.ArrayList; +import java.util.List; + +public class Model { + + public Model(){} + private String name; + private String id; + private String startElementId; + private String generator; + private List predefinedPath = new ArrayList<>(); + private List vertices; + private List edges; + + public List getEdges() { + return edges; + } + + public void setEdges(List edges) { + this.edges = edges; + } + + public List getVertices() { + return vertices; + } + + public void setVertices(List vertices) { + this.vertices = vertices; + } + + public List getPredefinedPath() { + return predefinedPath; + } + + public void setPredefinedPath(List predefinedPath) { + this.predefinedPath = predefinedPath; + } + + public String getGenerator() { + return generator; + } + + public void setGenerator(String generator) { + this.generator = generator; + } + + public String getStartElementId() { + return startElementId; + } + + public void setStartElementId(String startElementId) { + this.startElementId = startElementId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } +} diff --git a/java-plugin-generator/src/main/java/com/mycompany/lib/Models.java b/java-plugin-generator/src/main/java/com/mycompany/lib/Models.java new file mode 100644 index 0000000..868ac13 --- /dev/null +++ b/java-plugin-generator/src/main/java/com/mycompany/lib/Models.java @@ -0,0 +1,15 @@ +package com.mycompany.lib; + +import java.util.List; + +public class Models { + private List models; + + public List getModels() { + return models; + } + + public void setModels(List models) { + this.models = models; + } +} diff --git a/java-plugin-generator/src/main/java/com/mycompany/lib/PluginGenerator.java b/java-plugin-generator/src/main/java/com/mycompany/lib/PluginGenerator.java deleted file mode 100644 index 4db927d..0000000 --- a/java-plugin-generator/src/main/java/com/mycompany/lib/PluginGenerator.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.mycompany.lib; - -import org.graphwalker.core.condition.StopCondition; -import org.graphwalker.core.generator.NoPathFoundException; -import org.graphwalker.core.generator.PathGeneratorBase; -import org.graphwalker.core.generator.SingletonRandomGenerator; -import org.graphwalker.core.machine.Context; -import org.graphwalker.core.model.Element; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.util.List; - -/** - * A generator that is a code copy of the RandomPathGenerator. - * It serves the purpose of verifying the runtime loading of an plugin generator - */ -public class PluginGenerator extends PathGeneratorBase { - - private static final Logger LOG = LoggerFactory.getLogger(PluginGenerator.class); - - public PluginGenerator(StopCondition stopCondition) { - setStopCondition(stopCondition); - } - - @Override - public Context getNextStep() { - Context context = super.getNextStep(); - Element currentElement = context.getCurrentElement(); - List elements = context.filter(context.getModel().getElements(currentElement)); - if (elements.isEmpty()) { - LOG.error("currentElement: " + currentElement); - LOG.error("context.getModel().getElements(): " + context.getModel().getElements()); - throw new NoPathFoundException(context.getCurrentElement()); - } - context.setCurrentElement(elements.get(SingletonRandomGenerator.nextInt(elements.size()))); - return context; - } - - @Override - public boolean hasNextStep() { - return !getStopCondition().isFulfilled(); - } - -} diff --git a/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPath.java b/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPath.java new file mode 100644 index 0000000..b8acad2 --- /dev/null +++ b/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPath.java @@ -0,0 +1,38 @@ +package com.mycompany.lib; + +import java.util.List; + +public class PredefinedPath { + public PredefinedPath(List predefinedPath) { + this.predefinedPath = predefinedPath; + this.current = 0; + } + + public int GetCurrentIndex(){ + return current; + } + + public String GetCurrentEdge(){ + return predefinedPath.get(current); + } + + public double GetFulfillment(){ + return (double)current/(predefinedPath.size()-1); + } + + public Boolean HasNextStep(){ + return (current < predefinedPath.size()); + } + + public void IncrementCurrent(){ + if(current==predefinedPath.size()){ + throw new IllegalStateException("Current can not be more than the size of the predefined path!"); + } + current++; + } + + private List predefinedPath; + + private int current; + +} diff --git a/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPathGenerator.java b/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPathGenerator.java new file mode 100644 index 0000000..6c0effb --- /dev/null +++ b/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPathGenerator.java @@ -0,0 +1,82 @@ +package com.mycompany.lib; + +import org.graphwalker.core.model.Edge; +import org.graphwalker.core.model.Vertex; +import org.graphwalker.core.condition.StopCondition; +import org.graphwalker.core.generator.NoPathFoundException; +import org.graphwalker.core.generator.PathGeneratorBase; +import org.graphwalker.core.machine.Context; +import org.graphwalker.core.model.Element; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.util.List; + +public class PredefinedPathGenerator extends PathGeneratorBase { + + private static final Logger LOG = LoggerFactory.getLogger(PredefinedPathGenerator.class); + private final String pathToModels = System.getProperty("user.dir"); + private final PredefinedPath predefinedPath; + private final PredefinedPathReader reader = new PredefinedPathReader(); + + public PredefinedPathGenerator(StopCondition stopCondition) { + + String filePath = pathToModels + "\\" + stopCondition.getValue() + ".json"; + System.out.println(filePath); + predefinedPath = reader.Read(filePath); + setStopCondition(new PredefinedPathSoppingCondition(predefinedPath)); + } + + @Override + public Context getNextStep() { + Context context = super.getNextStep(); + Element currentElement = context.getCurrentElement(); + List reachableElements = context.filter(context.getModel().getElements(currentElement)); + + if (reachableElements.isEmpty()) { + LOG.error("currentElement: " + currentElement); + LOG.error("context.getModel().getElements(): " + context.getModel().getElements()); + throw new NoPathFoundException(context.getCurrentElement()); + } + Element nextElement; + + if (currentElement instanceof Edge.RuntimeEdge) { + nextElement = getNextElementFromEdge(context, reachableElements, (Edge.RuntimeEdge) currentElement); + } else if (currentElement instanceof Vertex.RuntimeVertex) { + nextElement = getNextElementFromVertex(context, reachableElements, (Vertex.RuntimeVertex) currentElement); + } else { + LOG.error("Current element is neither an edge or a vertex"); + throw new NoPathFoundException(context.getCurrentElement()); + } + context.setCurrentElement(nextElement); + return context; + } + + @Override + public boolean hasNextStep() { + return predefinedPath.HasNextStep(); + } + + private Element getNextElementFromEdge(Context context, List reachableElements, + Edge.RuntimeEdge currentElement) { + if (reachableElements.size() != 1) { + LOG.error("Next vertex of predefined path is ambiguous (after step " + predefinedPath.GetCurrentIndex() + + ", from edge with id \"" + currentElement.getId() + "\")"); + throw new NoPathFoundException(currentElement); + } + predefinedPath.IncrementCurrent(); + return reachableElements.get(0); + } + + private Element getNextElementFromVertex(Context context, List reachableElements, + Vertex.RuntimeVertex currentElement) { + for (Element elem : reachableElements) { + if (elem.getId().equals(predefinedPath.GetCurrentEdge())) { + return elem; + } + } + LOG.error("Next edge with id \"" + predefinedPath.GetCurrentEdge() + + "\" from predefined path is unreachable (either the guarding condition was not met or the edge has a different source vertex."); + throw new NoPathFoundException(currentElement); + } +} \ No newline at end of file diff --git a/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPathReader.java b/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPathReader.java new file mode 100644 index 0000000..1190e79 --- /dev/null +++ b/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPathReader.java @@ -0,0 +1,29 @@ +package com.mycompany.lib; + + +import org.json.simple.JSONObject; +import org.json.simple.parser.JSONParser; + +import com.google.gson.Gson; + +import java.io.FileReader; +import java.util.List; + +public class PredefinedPathReader { + + public PredefinedPath Read(String pathToModel){ + List predefinedPath=null; + JSONParser parser = new JSONParser(); + try { + Object obj = parser.parse(new FileReader(pathToModel)); + JSONObject fullFile = (JSONObject) obj; + Gson gson = new Gson(); + Models models = gson.fromJson(fullFile.toJSONString(), Models.class); + predefinedPath= models.getModels().get(0).getPredefinedPath(); + + } catch (Exception e) { + e.printStackTrace(); + } + return new PredefinedPath(predefinedPath); + } +} diff --git a/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPathSoppingCondition.java b/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPathSoppingCondition.java new file mode 100644 index 0000000..510daf3 --- /dev/null +++ b/java-plugin-generator/src/main/java/com/mycompany/lib/PredefinedPathSoppingCondition.java @@ -0,0 +1,18 @@ +package com.mycompany.lib; + +import org.graphwalker.core.condition.StopConditionBase; + +public class PredefinedPathSoppingCondition extends StopConditionBase { + private final PredefinedPath predefinedPath; + + public PredefinedPathSoppingCondition(PredefinedPath predefinedPath) { + super(""); + this.predefinedPath=predefinedPath; + } + + @Override + public double getFulfilment() { + return predefinedPath.GetFulfillment(); + } + +} diff --git a/java-plugin-generator/src/main/java/com/mycompany/lib/Vertex.java b/java-plugin-generator/src/main/java/com/mycompany/lib/Vertex.java new file mode 100644 index 0000000..9cd7126 --- /dev/null +++ b/java-plugin-generator/src/main/java/com/mycompany/lib/Vertex.java @@ -0,0 +1,20 @@ +package com.mycompany.lib; + +public class Vertex { + private String name; + private String id; + + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + + public String getId() { + return id; + } + public void setId(String id) { + this.id = id; + } +} diff --git a/java-plugin-generator/testJsons/small.json b/java-plugin-generator/testJsons/small.json new file mode 100644 index 0000000..a334f6d --- /dev/null +++ b/java-plugin-generator/testJsons/small.json @@ -0,0 +1,46 @@ +{ + "models": [ + { + "name": "SmallModel", + "generator": "predefinedpathgenerator(reachededge(small))", + "startElementId": "n0", + "vertices": [ + { + "name": "n0", + "id": "n0" + }, + { + "name": "n1", + "id": "n1" + } + ], + "edges": [ + { + "name": "e0", + "id": "e0", + "sourceVertexId": "n0", + "targetVertexId": "n1" + }, + { + "name": "e1", + "id": "e1", + "sourceVertexId": "n0", + "targetVertexId": "n1" + }, + { + "name": "e2", + "id": "e2", + "sourceVertexId": "n0", + "targetVertexId": "n1" + }, + { + "name": "e3", + "id": "e3", + "sourceVertexId": "n1", + "targetVertexId": "n0" + } + ], + "predefinedPath": [ "e0", "e3"] + } + ] + } \ No newline at end of file diff --git a/java-prestashop/README.md b/java-prestashop/README.md deleted file mode 100644 index 312f333..0000000 --- a/java-prestashop/README.md +++ /dev/null @@ -1,82 +0,0 @@ -# This project was made for a presentation at [SAST](http://sast.se/meeting.jsp?id=381) - -The example uses [PrestaSop](https://www.prestashop.com/en) as the System Under Test [SUT]. -To get the the SUT installed locally the presentation uses the docker version of PrestaShop. Go to [PrestaShops GitHub -page](https://github.com/PrestaShop/PrestaShop) and follow the instructions there. - -Before running the example, make sure following requirements are met/installed on your machine: -* Java JDK 8 -* Maven >= 3.5 -* Docker >= 18 -* Firefox latest version - -## Get the PrestaShop demo running - -The instructions are from: https://hub.docker.com/r/bitnami/prestashop/ - -```shell script -mkdir PrestaShop && cd PrestaShop -curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-prestashop/master/docker-compose.yml > docker-compose.yml -docker-compose up -d -``` - -To shut it down: - -```shell script -docker-compose down -``` - -The `docker-compose up` command will launch 2 services, one database and the PrestaShop web app. It will take a while until all is up running. - -Goto http://localhost, and the last install phase of Prestashop will start. - -![alt tag](images/prestashop/bitnami_installing.png) - -When done, you will be forwarded to: - -![alt tag](images/prestashop/After_installation.png) - - -## GraphWalker running tests using different test tools - -Extending the same interface `PrestaShop`, different implementations can be used to run th same tests. The interface is created from models in the folder
- `src/main/resources/com/prestashop`
-and will end up in this folder
- `target/generated-sources/graphwalker/com/prestashop`. - -Interfaces are created by graphwalker by running:
-```shell script -mvn graphwalker:generate-sources -``` -They are also created during the `compile` lifecycle of maven. - - -### Run the GraphWalker test with [Selenide](https://selenide.org/) - -The model implementation using [selenide](https://github.com/GraphWalker/graphwalker-example/blob/master/java-prestashop/src/main/java/com/prestashop/modelimplementation/SelenideImpl.java). - -```shell script -git clone https://github.com/GraphWalker/graphwalker-example.git -cd graphwalker-example/java-prestashop -mvn -Pselenide compile exec:java -Dexec.cleanupDaemonThreads=false -Dexec.mainClass="com.prestashop.runners.SelenideRunner" -``` - -### Run the GraphWalker test with [Eye](https://eyeautomate.com/eye/) - -The model implementation using [eye](https://github.com/GraphWalker/graphwalker-example/blob/master/java-prestashop/src/main/java/com/prestashop/modelimplementation/EyeImpl.java). - -You need to install eye2.jar in order for the below to work - -```shell script -mvn install:install-file -Dfile=/eye2.jar -DgroupId=eye -DartifactId=Eye -Dversion=2 -Dpackaging=jar - -mvn -Peye compile exec:java -Dexec.cleanupDaemonThreads=false -Dexec.mainClass="com.prestashop.runners.EyeRunner" -``` - -### Run the GraphWalker test with [SikuliX](http://sikulix.com/) - -The model implementation using [sikuli](https://github.com/GraphWalker/graphwalker-example/blob/master/java-prestashop/src/main/java/com/prestashop/modelimplementation/SikuliImpl.java). - -```shell script -mvn -Psikuli compile exec:java -Dexec.cleanupDaemonThreads=false -Dexec.mainClass="com.prestashop.runners.SikuliRunner" -``` diff --git a/java-prestashop/images/prestashop/After_installation.png b/java-prestashop/images/prestashop/After_installation.png deleted file mode 100644 index 6f8508d..0000000 Binary files a/java-prestashop/images/prestashop/After_installation.png and /dev/null differ diff --git a/java-prestashop/images/prestashop/Database_configuration.png b/java-prestashop/images/prestashop/Database_configuration.png deleted file mode 100644 index 052f799..0000000 Binary files a/java-prestashop/images/prestashop/Database_configuration.png and /dev/null differ diff --git a/java-prestashop/images/prestashop/File_and_folders_permissions.png b/java-prestashop/images/prestashop/File_and_folders_permissions.png deleted file mode 100644 index 01906a5..0000000 Binary files a/java-prestashop/images/prestashop/File_and_folders_permissions.png and /dev/null differ diff --git a/java-prestashop/images/prestashop/InstallationAssistant.png b/java-prestashop/images/prestashop/InstallationAssistant.png deleted file mode 100644 index f43c4d9..0000000 Binary files a/java-prestashop/images/prestashop/InstallationAssistant.png and /dev/null differ diff --git a/java-prestashop/images/prestashop/Store_information.png b/java-prestashop/images/prestashop/Store_information.png deleted file mode 100644 index 2a43a2d..0000000 Binary files a/java-prestashop/images/prestashop/Store_information.png and /dev/null differ diff --git a/java-prestashop/images/prestashop/bitnami_installing.png b/java-prestashop/images/prestashop/bitnami_installing.png deleted file mode 100644 index e51230f..0000000 Binary files a/java-prestashop/images/prestashop/bitnami_installing.png and /dev/null differ diff --git a/java-prestashop/pom.xml b/java-prestashop/pom.xml deleted file mode 100644 index 3fca3dd..0000000 --- a/java-prestashop/pom.xml +++ /dev/null @@ -1,161 +0,0 @@ - - - 4.0.0 - - - org.graphwalker.example - graphwalker-example - 4.3.0 - - - java-prestashop - GraphWalker PrestaShop Example - - - - selenide - - true - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - **/com/prestashop/modelimplementation/EyeImpl.java - **/com/prestashop/runners/EyeRunner.java - **/com/prestashop/modelimplementation/SikuliImpl.java - **/com/prestashop/runners/SikuliRunner.java - - - - - - - - eye - - - - org.apache.maven.plugins - maven-compiler-plugin - - - **/com/prestashop/modelimplementation/SikuliImpl.java - **/com/prestashop/runners/SikuliRunner.java - - - - - - - - eye - Eye - 2 - - - - - sikuli - - - - org.apache.maven.plugins - maven-compiler-plugin - - - **/com/prestashop/modelimplementation/EyeImpl.java - **/com/prestashop/runners/EyeRunner.java - - - - - - - - com.sikulix - sikulixapi - 1.1.4-SNAPSHOT - - - - - my-alternate-repository - https://oss.sonatype.org/content/repositories/snapshots - - - - - - - - - org.graphwalker - graphwalker-maven-plugin - ${project.version} - - - - generate-sources - generate-sources - - generate-sources - - - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.0 - - - - - - - - org.graphwalker - graphwalker-core - ${project.version} - - - org.graphwalker - graphwalker-java - ${project.version} - - - com.google.guava - guava - 30.1-jre - - - com.codeborne - selenide - 5.18.1 - - - ch.qos.logback - logback-classic - 1.3.0-alpha5 - - - org.slf4j - slf4j-api - 2.0.0-alpha1 - - - junit - junit - 4.13.2 - - - diff --git a/java-prestashop/requirement/UC01.md b/java-prestashop/requirement/UC01.md deleted file mode 100644 index 4f2be01..0000000 --- a/java-prestashop/requirement/UC01.md +++ /dev/null @@ -1,30 +0,0 @@ -# Order flow for customer - -## 1 Browse for product -As a buyer I want to be able to browse to a product that interests me - -## 2 Adding to shopping cart -As a buyer when I find the product I want to add it to the shopping cart - -## 3 Verify the order -As a buyer I want to be able to verify my shopping cart before checking out - -## 4 Checkout -As a buyer I want to do a checkout of my shopping cart - -## 5 Non-signed in -As a buyer I want to buy the product without adding an account - -## 6 Personal information -As a Store owner I need the buyer's -* 6.1 personal information -* 6.2 agreement to the terms and conditions -* 6.3 delivery address -* 6.4 selected shipping method -* 6.5 payment method -* 6.6 agreement to the terms of service - -so the order can be processed - -## 7 Confirmation of order -As a Buyer I want to see a confirmation of the order when the payment is completed diff --git a/java-prestashop/src/main/java/com/prestashop/modelimplementation/EyeImpl.java b/java-prestashop/src/main/java/com/prestashop/modelimplementation/EyeImpl.java deleted file mode 100644 index 616f47f..0000000 --- a/java-prestashop/src/main/java/com/prestashop/modelimplementation/EyeImpl.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.prestashop.modelimplementation; - -import com.prestashop.PrestaShop; -import org.graphwalker.core.machine.ExecutionContext; - -import eye.Eye; -import eye.Match; -import org.graphwalker.java.annotation.AfterExecution; -import org.graphwalker.java.annotation.BeforeExecution; -import org.junit.Assert; - -import javax.imageio.ImageIO; -import java.awt.image.BufferedImage; -import java.io.IOException; - -import static com.codeborne.selenide.Configuration.browser; -import static com.codeborne.selenide.Selenide.open; - -public class EyeImpl extends ExecutionContext implements PrestaShop { - - private Eye eye; - - @BeforeExecution - public void setup() { - eye = new Eye(); - } - @Override - public void e_Start() { - browser = "firefox"; - open("http://localhost"); - } - - @Override - public void v_ConfirmOrder() { - BufferedImage image = getBufferedImage("/images/personalInformation.png"); - Assert.assertNotNull("Could not find the personal information page", eye.findImage(image)); - } - - @Override - public void e_Checkout() { - BufferedImage image = getBufferedImage("/images/proceedToCheckout.png"); - Match match = eye.findImage(image); - Assert.assertTrue("Could not click on the proceed to checkout button", eye.click(match.getCenterLocation())); - } - - @Override - public void v_Product() { - BufferedImage image = getBufferedImage("/images/productPage.png"); - Assert.assertNotNull("Could not find the product page", eye.findImage(image)); - } - - @Override - public void e_Select_Product() { - BufferedImage image = getBufferedImage("/images/product.png"); - Match match = eye.findImage(image); - Assert.assertTrue("Could not click on the product", eye.click(match.getCenterLocation())); - } - - @Override - public void v_HomePage() { - BufferedImage image = getBufferedImage("/images/homePage.png"); - Assert.assertNotNull("Could not find the Home Page", eye.findImage(image)); - } - - @Override - public void e_Cart() { - BufferedImage image = getBufferedImage("/images/cartButton.png"); - Match match = eye.findImage(image); - Assert.assertTrue("Could not click on the cart button", eye.click(match.getCenterLocation())); - } - - @Override - public void v_Cart() { - BufferedImage image = getBufferedImage("/images/shoppingCart.png"); - Assert.assertNotNull("Could not find the Home Page", eye.findImage(image)); - } - - @Override - public void e_AddProductToCart() { - BufferedImage image = getBufferedImage("/images/addToCart.png"); - Match match = eye.findImage(image); - Assert.assertTrue("Could not click on the add to cart button", eye.click(match.getCenterLocation())); - - image = getBufferedImage("/images/continueShopping.png"); - match = eye.findImage(image); - Assert.assertTrue("Could not click on the continue shopping button", eye.click(match.getCenterLocation())); - } - - private BufferedImage getBufferedImage(String fileName) { - BufferedImage image = null; - try { - image = ImageIO.read(this.getClass().getResourceAsStream(fileName)); - } catch (IOException e) { - Assert.fail("Could not load image: " + fileName + " Caused by: " + e.getMessage()); - } - return image; - } -} diff --git a/java-prestashop/src/main/java/com/prestashop/modelimplementation/SelenideImpl.java b/java-prestashop/src/main/java/com/prestashop/modelimplementation/SelenideImpl.java deleted file mode 100644 index dd5f290..0000000 --- a/java-prestashop/src/main/java/com/prestashop/modelimplementation/SelenideImpl.java +++ /dev/null @@ -1,72 +0,0 @@ -package com.prestashop.modelimplementation; - - -import com.prestashop.PrestaShop; -import org.graphwalker.core.machine.ExecutionContext; - -import static com.codeborne.selenide.CollectionCondition.size; -import static com.codeborne.selenide.Condition.*; -import static com.codeborne.selenide.Configuration.browser; -import static com.codeborne.selenide.Selenide.*; - - -public class SelenideImpl extends ExecutionContext implements PrestaShop { - - @Override - public void v_ConfirmOrder() { - $$(".step-title").shouldHave(size(4)); - $(".step-title").shouldHave(text("1 PERSONAL INFORMATION")); - - Integer itemsInCart = getAttribute("itemsInCart").asInt(); - String str = itemsInCart.toString() + " item"; - if (itemsInCart > 1) { - str += "s"; - } - $(".cart-summary-products p").shouldHave(matchText(str)); - } - - @Override - public void e_Checkout() { - $(".checkout .btn-primary").click(); - } - - @Override - public void v_Product() { - $(".breadcrumb").shouldHave(text("Home Clothes Men Hummingbird printed t-shirt")); - $("#product-description-short-1").shouldHave(text("Regular fit, round neckline, short sleeves. Made of extra long staple pima cotton.")); - } - - @Override - public void e_Select_Product() { - $("[data-id-product='1']").scrollTo().click(); - } - - @Override - public void v_HomePage() { - $(".products-section-title").shouldHave(text("POPULAR PRODUCTS")); - } - - @Override - public void e_Cart() { - $("#_desktop_cart").click(); - } - - @Override - public void v_Cart() { - $(".card.cart-container .h1").shouldHave(text("SHOPPING CART")); - $("[data-id_customization='0']").shouldHave(text("Hummingbird printed t-shirt")); - } - - @Override - public void e_AddProductToCart() { - $("[data-button-action='add-to-cart']").click(); - $(".modal-header").shouldHave(text("Product successfully added to your shopping cart")); - $(".btn[data-dismiss='modal']").click(); - } - - @Override - public void e_Start() { - browser = "firefox"; - open("http://localhost"); - } -} diff --git a/java-prestashop/src/main/java/com/prestashop/modelimplementation/SikuliImpl.java b/java-prestashop/src/main/java/com/prestashop/modelimplementation/SikuliImpl.java deleted file mode 100644 index 49a797f..0000000 --- a/java-prestashop/src/main/java/com/prestashop/modelimplementation/SikuliImpl.java +++ /dev/null @@ -1,113 +0,0 @@ -package com.prestashop.modelimplementation; - -import com.prestashop.PrestaShop; -import org.graphwalker.core.machine.ExecutionContext; -import org.graphwalker.java.annotation.AfterExecution; -import org.graphwalker.java.annotation.BeforeExecution; -import org.junit.Assert; -import org.sikuli.script.*; - -import static com.codeborne.selenide.Configuration.browser; -import static com.codeborne.selenide.Selenide.open; - -public class SikuliImpl extends ExecutionContext implements PrestaShop { - - Screen screen; - Region region; - - @BeforeExecution - public void setup() { - screen = new Screen(); - ImagePath.add("src/main/resources/images"); - } - - - @Override - public void e_Start() { - browser = "firefox"; - open("http://localhost"); - } - - @Override - public void v_ConfirmOrder() { - try { - region.wait("personalInformation.png"); - } catch (FindFailed findFailed) { - findFailed.printStackTrace(); - Assert.fail(); - } - } - - @Override - public void e_Checkout() { - try { - region.click("proceedToCheckout.png"); - } catch (FindFailed findFailed) { - findFailed.printStackTrace(); - Assert.fail(); - } - } - - @Override - public void v_Product() { - try { - region.wait("productPage.png"); - } catch (FindFailed findFailed) { - findFailed.printStackTrace(); - Assert.fail(); - } - } - - @Override - public void e_Select_Product() { - try { - region.click("product.png"); - } catch (FindFailed findFailed) { - findFailed.printStackTrace(); - Assert.fail(); - } - } - - @Override - public void v_HomePage() { - try { - region = App.focusedWindow(); - region.wait("homePage.png"); - } catch (FindFailed findFailed) { - findFailed.printStackTrace(); - Assert.fail(); - } - } - - @Override - public void e_Cart() { - try { - region.click("cartButton.png"); - } catch (FindFailed findFailed) { - findFailed.printStackTrace(); - Assert.fail(); - } - } - - @Override - public void v_Cart() { - try { - region.wait("shoppingCart.png"); - } catch (FindFailed findFailed) { - findFailed.printStackTrace(); - Assert.fail(); - } - } - - @Override - public void e_AddProductToCart() { - try { - region.click("addToCart.png"); - region.wait("continueShopping.png"); - region.click("continueShopping.png"); - } catch (FindFailed findFailed) { - findFailed.printStackTrace(); - Assert.fail(); - } - } -} diff --git a/java-prestashop/src/main/java/com/prestashop/runners/EyeRunner.java b/java-prestashop/src/main/java/com/prestashop/runners/EyeRunner.java deleted file mode 100644 index ee57517..0000000 --- a/java-prestashop/src/main/java/com/prestashop/runners/EyeRunner.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.prestashop.runners; - -import com.prestashop.modelimplementation.EyeImpl; -import org.graphwalker.core.statistics.Execution; -import org.graphwalker.java.test.Result; -import org.graphwalker.java.test.TestExecutor; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.io.IOException; - -public class EyeRunner { - private static Logger logger = LoggerFactory.getLogger(EyeRunner.class); - - public static void main(String[] args) throws IOException { - TestExecutor executor = new TestExecutor( - EyeImpl.class - ); - - Result result = executor.execute(true); - if (result.hasErrors()) { - for (String error : result.getErrors()) { - logger.error(error); - } - } - logger.info("Done: [" + result.getResults().toString(2) + "]"); - int step = 1; - for (Execution execution : executor.getMachine().getProfiler().getExecutionPath()) { - logger.info("Step {}: {}", step++, execution.getElement().getName()); - } - } -} diff --git a/java-prestashop/src/main/java/com/prestashop/runners/SelenideRunner.java b/java-prestashop/src/main/java/com/prestashop/runners/SelenideRunner.java deleted file mode 100644 index 98d4966..0000000 --- a/java-prestashop/src/main/java/com/prestashop/runners/SelenideRunner.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.prestashop.runners; - -import com.prestashop.modelimplementation.SelenideImpl; -import org.graphwalker.core.statistics.Execution; -import org.graphwalker.java.test.Result; -import org.graphwalker.java.test.TestExecutor; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.io.IOException; - -public class SelenideRunner { - private static Logger logger = LoggerFactory.getLogger(SelenideRunner.class); - - public static void main(String[] args) throws IOException { - TestExecutor executor = new TestExecutor( - SelenideImpl.class - ); - - Result result = executor.execute(true); - if (result.hasErrors()) { - for (String error : result.getErrors()) { - logger.error(error); - } - } - logger.info("Done: [" + result.getResults().toString(2) + "]"); - int step = 1; - for (Execution execution : executor.getMachine().getProfiler().getExecutionPath()) { - logger.info( - "Step {}: Visited count {}: {}", - step++, - executor.getMachine().getProfiler().getVisitCount(execution.getContext(),execution.getElement()), - execution.getElement().getName()); - } - } -} diff --git a/java-prestashop/src/main/java/com/prestashop/runners/SikuliRunner.java b/java-prestashop/src/main/java/com/prestashop/runners/SikuliRunner.java deleted file mode 100644 index 1c14386..0000000 --- a/java-prestashop/src/main/java/com/prestashop/runners/SikuliRunner.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.prestashop.runners; - -import com.prestashop.modelimplementation.SikuliImpl; -import org.graphwalker.core.statistics.Execution; -import org.graphwalker.java.test.Result; -import org.graphwalker.java.test.TestExecutor; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.io.IOException; - -public class SikuliRunner { - private static Logger logger = LoggerFactory.getLogger(SikuliRunner.class); - - public static void main(String[] args) throws IOException { - TestExecutor executor = new TestExecutor( - SikuliImpl.class - ); - - Result result = executor.execute(true); - if (result.hasErrors()) { - for (String error : result.getErrors()) { - logger.error(error); - } - } - logger.info("Done: [" + result.getResults().toString(2) + "]"); - int step = 1; - for (Execution execution : executor.getMachine().getProfiler().getExecutionPath()) { - logger.info("Step {}: {}", step++, execution.getElement().getName()); - } - } -} diff --git a/java-prestashop/src/main/resources/com/prestashop/UC01 - Naive version.json b/java-prestashop/src/main/resources/com/prestashop/UC01 - Naive version.json deleted file mode 100644 index ca32140..0000000 --- a/java-prestashop/src/main/resources/com/prestashop/UC01 - Naive version.json +++ /dev/null @@ -1 +0,0 @@ -{"models":[{"edges":[{"id":"007e3e80-da16-11e9-9ab2-0ff5ddfe2c2c","name":"välj produkt","sourceVertexId":"0f932260-da15-11e9-9ab2-0ff5ddfe2c2c","targetVertexId":"f4724a50-da15-11e9-9ab2-0ff5ddfe2c2c"},{"id":"66840010-da26-11e9-b24d-95bd34e7b928","name":"gå till kundvagn","sourceVertexId":"f4724a50-da15-11e9-9ab2-0ff5ddfe2c2c","targetVertexId":"5ecfcd40-da26-11e9-b24d-95bd34e7b928"},{"id":"ab2c9970-da26-11e9-b24d-95bd34e7b928","name":"checkout","sourceVertexId":"5ecfcd40-da26-11e9-b24d-95bd34e7b928","targetVertexId":"8b0da350-da26-11e9-b24d-95bd34e7b928"}],"generator":"random(edge_coverage(100))","id":"e918f0f7-dc56-4aa3-97fb-3660654309f6","name":"Untitled","startElementId":"","vertices":[{"id":"0f932260-da15-11e9-9ab2-0ff5ddfe2c2c","name":"home","properties":{"x":347.9030890845374,"y":521.0366606376624}},{"id":"f4724a50-da15-11e9-9ab2-0ff5ddfe2c2c","name":"vald produkt","properties":{"x":592,"y":525}},{"id":"5ecfcd40-da26-11e9-b24d-95bd34e7b928","name":"kundvagn","properties":{"x":331,"y":644}},{"id":"8b0da350-da26-11e9-b24d-95bd34e7b928","name":"verifiera order","properties":{"x":560,"y":672}}]}],"selectedModelIndex":0,"selectedElementId":null,"name":"VISMODEL"} \ No newline at end of file diff --git a/java-prestashop/src/main/resources/com/prestashop/UC01 - Normalized version.json b/java-prestashop/src/main/resources/com/prestashop/UC01 - Normalized version.json deleted file mode 100644 index cde54ad..0000000 --- a/java-prestashop/src/main/resources/com/prestashop/UC01 - Normalized version.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "models": [ - { - "edges": [ - { - "id": "007e3e80-da16-11e9-9ab2-0ff5ddfe2c2c", - "name": "e_Select_Product", - "sourceVertexId": "0f932260-da15-11e9-9ab2-0ff5ddfe2c2c", - "targetVertexId": "f4724a50-da15-11e9-9ab2-0ff5ddfe2c2c" - }, - { - "id": "66840010-da26-11e9-b24d-95bd34e7b928", - "name": "e_Cart", - "sourceVertexId": "f4724a50-da15-11e9-9ab2-0ff5ddfe2c2c", - "targetVertexId": "5ecfcd40-da26-11e9-b24d-95bd34e7b928", - "guard": "itemsInCart > 0" - }, - { - "id": "ab2c9970-da26-11e9-b24d-95bd34e7b928", - "name": "e_Checkout", - "sourceVertexId": "5ecfcd40-da26-11e9-b24d-95bd34e7b928", - "targetVertexId": "8b0da350-da26-11e9-b24d-95bd34e7b928" - }, - { - "id": "6619617b-4a06-45dd-9363-722324a3d373", - "name": "e_Start", - "sourceVertexId": "0f932260-da15-11e9-9ab2-0ff5ddfe2c2c", - "targetVertexId": "0f932260-da15-11e9-9ab2-0ff5ddfe2c2c", - "guard": "isStarted == false", - "actions": [ - "isStarted = true;" - ] - }, - { - "id": "a5880940-ddf6-11e9-8a12-a30a7bdda215", - "name": "e_AddProductToCart", - "sourceVertexId": "f4724a50-da15-11e9-9ab2-0ff5ddfe2c2c", - "targetVertexId": "f4724a50-da15-11e9-9ab2-0ff5ddfe2c2c", - "actions": [ - "itemsInCart++;" - ] - } - ], - "generator": "random(edge_coverage(100))", - "id": "e918f0f7-dc56-4aa3-97fb-3660654309f6", - "name": "PrestaShop", - "actions": [ - "isStarted = false;", - "itemsInCart = 0;" - ], - "startElementId": "6619617b-4a06-45dd-9363-722324a3d373", - "vertices": [ - { - "id": "0f932260-da15-11e9-9ab2-0ff5ddfe2c2c", - "name": "v_HomePage", - "properties": { - "x": 299.9030890845374, - "y": 426.0366606376624 - } - }, - { - "id": "f4724a50-da15-11e9-9ab2-0ff5ddfe2c2c", - "name": "v_Product", - "properties": { - "x": 658, - "y": 523 - } - }, - { - "id": "5ecfcd40-da26-11e9-b24d-95bd34e7b928", - "name": "v_Cart", - "properties": { - "x": 331, - "y": 644 - } - }, - { - "id": "8b0da350-da26-11e9-b24d-95bd34e7b928", - "name": "v_ConfirmOrder", - "properties": { - "x": 560, - "y": 672 - } - } - ] - } - ], - "selectedModelIndex": 0, - "selectedElementId": null, - "name": "VISMODEL" -} \ No newline at end of file diff --git a/java-prestashop/src/main/resources/images/addToCart.png b/java-prestashop/src/main/resources/images/addToCart.png deleted file mode 100644 index f7e92bf..0000000 Binary files a/java-prestashop/src/main/resources/images/addToCart.png and /dev/null differ diff --git a/java-prestashop/src/main/resources/images/cartButton.png b/java-prestashop/src/main/resources/images/cartButton.png deleted file mode 100644 index 135bb83..0000000 Binary files a/java-prestashop/src/main/resources/images/cartButton.png and /dev/null differ diff --git a/java-prestashop/src/main/resources/images/continueShopping.png b/java-prestashop/src/main/resources/images/continueShopping.png deleted file mode 100644 index 5d591b6..0000000 Binary files a/java-prestashop/src/main/resources/images/continueShopping.png and /dev/null differ diff --git a/java-prestashop/src/main/resources/images/homePage.png b/java-prestashop/src/main/resources/images/homePage.png deleted file mode 100644 index 9d553f7..0000000 Binary files a/java-prestashop/src/main/resources/images/homePage.png and /dev/null differ diff --git a/java-prestashop/src/main/resources/images/localhost_icon.png b/java-prestashop/src/main/resources/images/localhost_icon.png deleted file mode 100644 index 64e1bea..0000000 Binary files a/java-prestashop/src/main/resources/images/localhost_icon.png and /dev/null differ diff --git a/java-prestashop/src/main/resources/images/personalInformation.png b/java-prestashop/src/main/resources/images/personalInformation.png deleted file mode 100644 index cd67011..0000000 Binary files a/java-prestashop/src/main/resources/images/personalInformation.png and /dev/null differ diff --git a/java-prestashop/src/main/resources/images/proceedToCheckout.png b/java-prestashop/src/main/resources/images/proceedToCheckout.png deleted file mode 100644 index ceb9005..0000000 Binary files a/java-prestashop/src/main/resources/images/proceedToCheckout.png and /dev/null differ diff --git a/java-prestashop/src/main/resources/images/product.png b/java-prestashop/src/main/resources/images/product.png deleted file mode 100644 index e7b351d..0000000 Binary files a/java-prestashop/src/main/resources/images/product.png and /dev/null differ diff --git a/java-prestashop/src/main/resources/images/productPage.png b/java-prestashop/src/main/resources/images/productPage.png deleted file mode 100644 index 8459339..0000000 Binary files a/java-prestashop/src/main/resources/images/productPage.png and /dev/null differ diff --git a/java-prestashop/src/main/resources/images/shoppingCart.png b/java-prestashop/src/main/resources/images/shoppingCart.png deleted file mode 100644 index d7785ae..0000000 Binary files a/java-prestashop/src/main/resources/images/shoppingCart.png and /dev/null differ diff --git a/java-prestashop/src/main/resources/logback.xml b/java-prestashop/src/main/resources/logback.xml deleted file mode 100644 index c4b479f..0000000 --- a/java-prestashop/src/main/resources/logback.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - %d{HH:mm:ss.SSS} [%thread] [%X{trace}] %-5level %logger{20} - %msg%n - - - - - - \ No newline at end of file diff --git a/java-websocket/pom.xml b/java-websocket/pom.xml deleted file mode 100644 index 178cc7f..0000000 --- a/java-websocket/pom.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - 4.0.0 - - - org.graphwalker.example - graphwalker-example - 4.3.0 - - - java-websocket - GraphWalker Websocket Example - - - - org.graphwalker - graphwalker-cli - ${project.version} - - - org.java-websocket - Java-WebSocket - 1.5.1 - - - org.json - json - 20201115 - - - junit - junit - 4.13.2 - - - diff --git a/java-websocket/src/main/java/org/graphwalker/example/GraphWalkerWebSocketClient.java b/java-websocket/src/main/java/org/graphwalker/example/GraphWalkerWebSocketClient.java deleted file mode 100644 index 47bc92f..0000000 --- a/java-websocket/src/main/java/org/graphwalker/example/GraphWalkerWebSocketClient.java +++ /dev/null @@ -1,283 +0,0 @@ -package org.graphwalker.example; - - -import org.graphwalker.io.common.ResourceUtils; -import org.java_websocket.client.WebSocketClient; -import org.java_websocket.drafts.Draft_6455; -import org.java_websocket.handshake.ServerHandshake; -import org.json.JSONException; -import org.json.JSONObject; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStreamReader; -import java.net.URI; -import java.net.URISyntaxException; -import java.nio.file.Path; - -public class GraphWalkerWebSocketClient { - - private WebSocketClient wsc; - private static final Logger logger = LoggerFactory.getLogger(GraphWalkerWebSocketClient.class); - - private enum RX_STATE { - NONE, - HASNEXT, - LOADMODEL, - START, - RESTART, - GETNEXT, - GETDATA, - VISITEDELEMENT - } - - private final String START = "{\"type\": \"start\"}"; - private final String RESTART = "{\"type\": \"restart\"}"; - private final String GET_NEXT = "{\"type\": \"getNext\"}"; - private final String HAS_NEXT = "{\"type\": \"hasNext\"}"; - private final String GET_DATA = "{\"type\": \"getData\"}"; - - public boolean connected = false; - public RX_STATE rxState = RX_STATE.NONE; - public boolean cmd = false; - public boolean hasNext = false; - private int port = 8887; - private String host = "localhost"; - private GraphWalkerWebSocketClient client; - - /** - * Creates an instance of the GraphWalker WebSocket client. - * No connections will be made until the {@link #run() run} method is called. - * The default hostname is localhost. The default port is 8887 - */ - public GraphWalkerWebSocketClient() { - } - - /** - * Creates an instance of the GraphWalker WebSocket client. - * No connections will be made until the {@link #run() run} method is called. - * - * @param host the host to which connect this client - * @param port the port to which connect this client - */ - public GraphWalkerWebSocketClient(String host, int port) { - this.host = host; - this.port = port; - } - - /** - * Connects the GraphWalker client to the GraphWalker WebSocket - * server on ws://hostname:port - * When connected, a GraphWalker machine will be created on the server - * which will serve this client only. - */ - public void run() { - client = new GraphWalkerWebSocketClient(host, port); - client.connect(); - while (!client.connected) { - try { - Thread.sleep(100); - } catch (InterruptedException e) { - e.printStackTrace(); - } - } - } - - private void connect() { - try { - wsc = new WebSocketClient(new URI("ws://" + host + ":" + port)) { - - @Override - public void onMessage(String message) { - logger.debug("Got message: " + message ); - JSONObject root; - try { - root = new JSONObject(message); - } catch (JSONException e) { - logger.error("Message is not JSON formatted: " + e.getMessage()); - return; - } - - rxState = RX_STATE.NONE; - cmd = false; - String type = root.getString("type").toUpperCase(); - if (type.equals("HASNEXT")) { - hasNext = false; - rxState = RX_STATE.HASNEXT; - if (root.getBoolean("success")) { - cmd = true; - if (root.getBoolean("hasNext")) { - hasNext = true; - } - } - } else if (type.equals("LOADMODEL")) { - rxState = RX_STATE.LOADMODEL; - if (root.getBoolean("success")) { - cmd = true; - } - } else if (type.equals("START")) { - rxState = RX_STATE.START; - if (root.getBoolean("success")) { - cmd = true; - } - } else if (type.equals("RESTART")) { - rxState = RX_STATE.RESTART; - if (root.getBoolean("success")) { - cmd = true; - } - } else if (type.equals("GETNEXT")) { - rxState = RX_STATE.GETNEXT; - if (root.getBoolean("success")) { - cmd = true; - } - } else if (type.equals("GETDATA")) { - rxState = RX_STATE.GETDATA; - if (root.getBoolean("success")) { - cmd = true; - } - } else if (type.equals("VISITEDELEMENT")) { - rxState = RX_STATE.VISITEDELEMENT; - } else { - logger.info("Message type is not implemented: " + type); - } - } - - @Override - public void onOpen(ServerHandshake handshake) { - logger.info("Connected to: " + getURI() ); - connected = true; - } - - @Override - public void onClose(int code, String reason, boolean remote) { - logger.info("You have been disconnected from: " + getURI() + "; Code: " + code + " " + reason); - System.out.println(); - connected = false; - } - - @Override - public void onError(Exception ex) { - logger.error("Exception occured ...\n" + ex); - ex.printStackTrace(); - } - }; - } catch (URISyntaxException e) { - e.printStackTrace(); - } - wsc.connect(); - } - - private void wait(GraphWalkerWebSocketClient client, RX_STATE state) { - while (client.rxState != state) { - try { - Thread.sleep(100); - } catch (InterruptedException e) { - e.printStackTrace(); - } - } - if (!client.cmd) { - throw new RuntimeException("Failed to execute command"); - } - } - - /** - * Loads a model into the GraphWalker machine. The first model loaded, is where - * the execution will start. - * Several models can be loaded. Every model which is loaded, will have it's own - * context in the machine. - * - * @param model a JSON formatted GraphWalker model as a string - */ - public void loadModel(String model) { - logger.debug("Loading model: " + model); - client.wsc.send(model); - wait(client, RX_STATE.LOADMODEL); - } - - /** - * Loads a model into the GraphWalker machine. The first model loaded, is where - * the execution will start. - * Several models can be loaded. Every model which is loaded, will have it's own - * context in the machine. - * - * @param path a JSON formatted GraphWalker model as a file - */ - public void loadModel(Path path) { - logger.debug("Loading model file: " + path.toString()); - BufferedReader reader = new BufferedReader(new InputStreamReader(ResourceUtils.getResourceAsStream(path.toString()))); - StringBuilder out = new StringBuilder(); - String line; - try { - while ((line = reader.readLine()) != null) { - out.append(line); - } - } catch (IOException e) { - e.printStackTrace(); - } - try { - reader.close(); - } catch (IOException e) { - e.printStackTrace(); - } - - loadModel(out.toString()); - } - - /** - * Closes the connection with the GraphWalker server. - */ - public void close() { - logger.debug("Will close"); - client.wsc.close(); - } - - /** - * Starts the machine. No more loadModel calls are allowed. - */ - public void startMachine() { - logger.debug("Start the machine"); - client.wsc.send(START); - wait(client, RX_STATE.START); - } - - /** - * Restarts the machine. All previously loaded models will be discared. - */ - public void restartMachine() { - logger.debug("Restart the machine"); - client.wsc.send(RESTART); - wait(client, RX_STATE.RESTART); - } - - /** - * Gets the next element from the the GraphWalker machine - */ - public void getNext() { - logger.debug("Get next step"); - client.wsc.send(GET_NEXT); - wait(client, RX_STATE.GETNEXT); - } - - /** - * Checks if the machine has more steps to generate. - * - * @return If all stop conditions are fulfilled for the machine, true is returned. Otherwise false. - */ - public boolean hasNext() { - logger.debug("Have next step?"); - client.wsc.send(HAS_NEXT); - wait(client, RX_STATE.HASNEXT); - return client.hasNext; - } - - /** - * Asks the machine to return all data from the current model context. - */ - public void getData() { - logger.debug("Get data"); - client.wsc.send(GET_DATA); - wait(client, RX_STATE.GETDATA); - } -} \ No newline at end of file diff --git a/java-websocket/src/test/java/org/graphwalker/example/GraphWalkerClientTest.java b/java-websocket/src/test/java/org/graphwalker/example/GraphWalkerClientTest.java deleted file mode 100644 index 4050ba4..0000000 --- a/java-websocket/src/test/java/org/graphwalker/example/GraphWalkerClientTest.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.graphwalker.example; - -import java.nio.file.Paths; - -public class GraphWalkerClientTest { - - public void smallModel() { - - GraphWalkerWebSocketClient c = new GraphWalkerWebSocketClient(); - c.run(); - c.loadModel(Paths.get("json/SmallModel.json")); - c.startMachine(); - while (c.hasNext()) { - c.getNext(); - c.getData(); - } - c.close(); - } - -} \ No newline at end of file diff --git a/java-websocket/src/test/resources/json/SmallModel.json b/java-websocket/src/test/resources/json/SmallModel.json deleted file mode 100644 index 6f747d7..0000000 --- a/java-websocket/src/test/resources/json/SmallModel.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "type": "loadModel", - "model": { - "name": "Small model", - "generator": "random(edge_coverage(100))", - "vertices": [ - { - "name": "v_VerifySomeAction", - "id": "n0" - }, - { - "name": "v_VerifySomeOtherAction", - "id": "n1" - } - ], - "edges": [ - { - "name": "e_FirstAction", - "id": "e0", - "dstVertexId": "n0", - "startElement": "true", - "actions": [ - { - "action": "x=0;" - }, - { - "action": "y=0;" - } - ] - }, - { - "name": "e_AnotherAction", - "id": "e1", - "srcVertexId": "n0", - "dstVertexId": "n1", - "actions": [ - { - "action": "y+=1;" - } - ] - }, - { - "name": "e_SomeOtherAction", - "id": "e2", - "srcVertexId": "n1", - "dstVertexId": "n1", - "actions": [ - { - "action": "x+=1;" - } - ] - }, - { - "name": "e_SomeOtherAction", - "id": "e3", - "srcVertexId": "n1", - "dstVertexId": "n0", - "actions": [ - { - "action": "y+=1;" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/java-websocket/src/test/resources/logback-test.xml b/java-websocket/src/test/resources/logback-test.xml deleted file mode 100644 index 67a77da..0000000 --- a/java-websocket/src/test/resources/logback-test.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n - - - - - - - \ No newline at end of file